2019-11-07 10:31:01 +00:00
|
|
|
plugins {
|
2019-11-07 13:27:06 +00:00
|
|
|
// apply the java-library plugin to add support for Java Library
|
2019-11-07 10:31:01 +00:00
|
|
|
`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-07 13:27:06 +00:00
|
|
|
// use JUnit test framework
|
2019-11-07 10:31:01 +00:00
|
|
|
testImplementation("junit:junit:4.12")
|
|
|
|
}
|