SetupWizardLibrary/library/build.gradle
Maurice Lam a211294e1c [SuwLib] Generate javadocs
Configure javadocs so that it can be generated with `./gradlew docs`
Split self.gradle from build.gradle, so that self.gradle can be used
to configure tasks only available to a build on ub-setupwizard-*,
while build.gradle will be used for building from source in other
gradle projects (e.g. GMS core).

Bug: 21444334
Change-Id: Icec763ce7dcf8939b7918b580e17ae22353cb38c
2015-08-10 18:04:09 +00:00

33 lines
1.3 KiB
Groovy

/**
* Build the file with local dependencies. This is typically the build file you want to use when
* building from the Android source tree. The difference between this and standalone.gradle is that
* this will build the dependencies like support libraries from source, whereas standalone.gradle
* will get it from maven central.
*
* For example, you can include the following in your settings.gradle file:
* include ':setup-wizard-lib'
* project(':setup-wizard-lib').projectDir = new File(PATH_TO_THIS_DIRECTORY)
*
* And then you can include the :setup-wizard-lib project as one of your dependencies
* dependencies {
* compile project(path: ':setup-wizard-lib', configuration: 'icsCompatRelease')
* }
*/
ext {
// For builds in the Android tree we want to build the dependencies from source for reproducible
// builds. To add a dependency, you want to specify something like this:
// ext {
// deps = ['project-name': project(':project-path')]
// }
//
// And then in rules.gradle you can reference the dependency by
// dependencies {
// compile deps['project-name']
// }
//
deps = ['support-appcompat-v7': project(':support-appcompat-v7')]
}
apply from: 'rules.gradle'