25 lines
439 B
Groovy
25 lines
439 B
Groovy
apply plugin: 'java'
|
|
|
|
|
|
configurations {
|
|
android
|
|
}
|
|
|
|
task androidJar(type: Jar) {
|
|
appendix = "android"
|
|
from sourceSets.main.java.outputDir
|
|
exclude("**/PlatformUtil.*")
|
|
}
|
|
|
|
artifacts {
|
|
android androidJar
|
|
}
|
|
|
|
dependencies {
|
|
testImplementation 'junit:junit:4.12'
|
|
testImplementation 'com.google.code.gson:gson:2.8.2'
|
|
testImplementation 'org.hamcrest:hamcrest-core:1.3'
|
|
|
|
implementation fileTree(dir: "libs", include: ["*.jar"])
|
|
}
|
|
|