wedroid/wrapper/build.gradle.kts

33 lines
798 B
Plaintext

plugins {
`java-library`
}
dependencies {
// use retrofit
val retrofitVersion = "2.6.2"
implementation("com.squareup.retrofit2:retrofit:$retrofitVersion")
implementation("com.squareup.retrofit2:converter-gson:$retrofitVersion")
// mock server response
testImplementation("com.squareup.okhttp3:mockwebserver:4.2.1")
// use JUnit test framework
testImplementation("junit:junit:4.12")
}
tasks{
register<Jar>("fatJar") {
archiveClassifier.set("fat")
from(
configurations.compileClasspath
.map { config ->
config.map { if (it.isDirectory) it else zipTree(it) }
}
)
manifest {
attributes("Implementation-Title" to "wedroid-wrapper")
}
}
}