• Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1apply plugin: 'java'
2sourceCompatibility = JavaVersion.VERSION_1_7
3targetCompatibility = JavaVersion.VERSION_1_7
4
5dependencies {
6    compile files(
7            '../../../../prebuilts/checkstyle/checkstyle.jar',
8            '../../../../prebuilts/sdk/current/support/annotations/android-support-annotations.jar')
9}
10
11sourceSets {
12    main.java.srcDir 'src'
13}
14
15sourceCompatibility = JavaVersion.VERSION_1_7
16targetCompatibility = JavaVersion.VERSION_1_7
17
18jar {
19    from sourceSets.main.output
20    baseName = "com.android.support.checkstyle"
21    destinationDir = new File("prebuilt")
22}
23