27 lines
328 B
Groovy
27 lines
328 B
Groovy
apply plugin: 'java'
|
|
|
|
sourceSets {
|
|
main {
|
|
java {
|
|
srcDirs = ["src"]
|
|
}
|
|
}
|
|
}
|
|
|
|
configurations {
|
|
android
|
|
}
|
|
|
|
task androidJar(type: Jar) {
|
|
appendix = "android"
|
|
from sourceSets.main.output
|
|
exclude("**/PlatformUtil.*")
|
|
}
|
|
|
|
artifacts {
|
|
android androidJar
|
|
}
|
|
|
|
dependencies {
|
|
compile fileTree(dir: "libs", include: ["*.jar"])
|
|
}
|