wedroid/wrapper/build.gradle.kts

33 lines
798 B
Plaintext
Raw Normal View History

2019-11-07 10:31:01 +00:00
plugins {
`java-library`
}
dependencies {
2019-11-07 13:27:06 +00:00
// use retrofit
val retrofitVersion = "2.6.2"
implementation("com.squareup.retrofit2:retrofit:$retrofitVersion")
implementation("com.squareup.retrofit2:converter-gson:$retrofitVersion")
2019-11-07 10:31:01 +00:00
2019-11-08 21:21:51 +00:00
// mock server response
testImplementation("com.squareup.okhttp3:mockwebserver:4.2.1")
2019-11-07 13:27:06 +00:00
// use JUnit test framework
2019-11-07 10:31:01 +00:00
testImplementation("junit:junit:4.12")
}
2020-01-12 18:30:18 +00:00
2020-01-12 18:55:45 +00:00
tasks{
register<Jar>("fatJar") {
archiveClassifier.set("fat")
2020-01-12 18:30:18 +00:00
from(
configurations.compileClasspath
.map { config ->
config.map { if (it.isDirectory) it else zipTree(it) }
}
)
manifest {
attributes("Implementation-Title" to "wedroid-wrapper")
}
}
}