apply plugin: "java" | |
compileJava { | |
sourceCompatibility = JavaVersion.VERSION_1_7 | |
targetCompatibility = JavaVersion.VERSION_1_7 | |
} | |
dependencies { | |
compile files("../../../../prebuilts/checkstyle/checkstyle.jar") | |
} | |
sourceSets { | |
main.java.srcDir "src" | |
} | |
jar { | |
from sourceSets.main.output | |
baseName = "com.android.support.checkstyle" | |
destinationDir = new File("prebuilt") | |
} |