blob: 1121887587e43d97d4f19953bb572f3a7957dc82 [file] [log] [blame]
Jim Sproch9e38b4f2021-01-06 14:21:06 -08001apply plugin: "java"
Aurimas Liutikas839dd6e2017-07-18 13:46:59 -07002
3compileJava {
4 sourceCompatibility = JavaVersion.VERSION_1_7
5 targetCompatibility = JavaVersion.VERSION_1_7
6}
Alan Viverette6a9a6d82016-12-16 15:24:00 -05007
8dependencies {
Jim Sproch9e38b4f2021-01-06 14:21:06 -08009 compile files("../../../../prebuilts/checkstyle/checkstyle.jar")
Alan Viverette6a9a6d82016-12-16 15:24:00 -050010}
11
12sourceSets {
Jim Sproch9e38b4f2021-01-06 14:21:06 -080013 main.java.srcDir "src"
Alan Viverette6a9a6d82016-12-16 15:24:00 -050014}
15
Alan Viverette6a9a6d82016-12-16 15:24:00 -050016jar {
17 from sourceSets.main.output
18 baseName = "com.android.support.checkstyle"
19 destinationDir = new File("prebuilt")
20}