dependencies {
compile files("relative/path/to/classes/dir")
}
For further details, check out the Gradle User Guide.
More Related Contents:
- What’s the difference between implementation, api and compile in Gradle?
- Using Gradle to find dependency tree
- Using Gradle to build a jar with dependencies
- JavaFX 11 : Create a jar file with Gradle
- Android Studio: Where is the Compiler Error Output Window?
- How to pass arguments from command line to Gradle
- Duplicate class android.support.v4.app.INotificationSideChannel found in modules classes?
- How to use my own Android.mk file with Android Studio
- gradlew: Permission Denied
- How to download javadocs and sources for jar using Gradle 2.0?
- Extract common methods from Gradle build script
- How can the gradle plugin repository be changed?
- Add resources and config files to your JAR using Gradle
- variantOutput.getPackageApplication() is obsolete
- Gradle store on local file system
- Extremely long build with Gradle (Android Studio)
- Difference between using gradlew and gradle
- Where to put Gradle configuration (i.e. credentials) that should not be committed?
- Gradle build only one module
- How to stop Gradle task execution in Android Studio?
- Is there a way to split/factor out common parts of Gradle build
- How to download dependencies in gradle
- How to use exec() output in gradle
- Gradle build null console object
- How to run copy task with android studio into assets folder
- Gradle Could not create service of type InitScriptHandler using BuildScopeServices.createInitScriptHandler()
- How to interpret Gradle DSL
- Android-Studio upgraded from 0.1.9 to 0.2.0 causing gradle build errors now
- Where does Gradle store downloaded jars on the local file system
- Error:null value in entry: incrementalFolder=null