How License Finder detects project types
masterLicense Finder automatically detects supported languages by looking for specific package definition files in your project directory.
Key detection files include:
- Ruby:
Gemfile(bundler) - Node.js:
package.json(npm) - Python:
requirements.txt(pip),Pipfile.lock(pipenv) - Java:
pom.xml(maven),build.gradleorbuild.gradle.kts(gradle) - Go:
go.mod(go mod),Gopkg.lock(dep),Godeps/Godeps.json(godep) - Swift/iOS:
Podfile(cocoapods),Cartfile(carthage), orworkspace-state.json(SPM) - Rust:
Cargo.lock(cargo) - PHP:
composer.lock(composer) - JavaScript:
yarn.lock(yarn)
Note: For CocoaPods, you can target a specific target by setting the ACKNOWLEDGEMENTS_PATH environment variable.