fb69e05bd0
Bumps `retrofit` from 2.4.0 to 2.5.0. Updates `converter-gson` from 2.4.0 to 2.5.0 Updates `retrofit` from 2.4.0 to 2.5.0 - [Release notes](https://github.com/square/retrofit/releases) - [Changelog](https://github.com/square/retrofit/blob/master/CHANGELOG.md) - [Commits](https://github.com/square/retrofit/compare/parent-2.4.0...parent-2.5.0) Updates `adapter-rxjava2` from 2.4.0 to 2.5.0 Updates `converter-scalars` from 2.4.0 to 2.5.0 Signed-off-by: dependabot[bot] <support@dependabot.com>
70 lines
1.6 KiB
Groovy
70 lines
1.6 KiB
Groovy
plugins {
|
|
id 'java'
|
|
id 'org.jetbrains.kotlin.jvm' version '1.3.10'
|
|
id 'jacoco'
|
|
}
|
|
|
|
group 'io.github.wulkanowy'
|
|
version '0-1.0-SNAPSHOT'
|
|
|
|
sourceCompatibility = 1.8
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
maven { url 'https://jitpack.io' }
|
|
}
|
|
|
|
ext {
|
|
jspoon = "1.3.2"
|
|
okhttp3 = "3.11.0"
|
|
retrofit = "2.5.0"
|
|
}
|
|
|
|
dependencies {
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
|
|
|
|
implementation "pl.droidsonroids:jspoon:$jspoon"
|
|
implementation "pl.droidsonroids.retrofit2:converter-jspoon:$jspoon"
|
|
implementation "com.squareup.retrofit2:converter-gson:$retrofit"
|
|
|
|
implementation "com.squareup.retrofit2:retrofit:$retrofit"
|
|
implementation "com.squareup.retrofit2:adapter-rxjava2:$retrofit"
|
|
implementation "com.squareup.retrofit2:converter-scalars:$retrofit"
|
|
implementation "com.squareup.okhttp3:logging-interceptor:$okhttp3"
|
|
implementation "com.squareup.okhttp3:okhttp-urlconnection:$okhttp3"
|
|
|
|
implementation "com.github.jonyas:RxJava2Reauth:72abb94"
|
|
|
|
implementation "org.threeten:threetenbp:1.3.8"
|
|
|
|
testImplementation "com.squareup.okhttp3:mockwebserver:$okhttp3"
|
|
testImplementation "junit:junit:4.12"
|
|
}
|
|
|
|
compileKotlin {
|
|
kotlinOptions.jvmTarget = "1.8"
|
|
}
|
|
compileTestKotlin {
|
|
kotlinOptions.jvmTarget = "1.8"
|
|
}
|
|
|
|
jacocoTestReport {
|
|
reports {
|
|
xml.enabled true
|
|
}
|
|
}
|
|
|
|
task sourcesJar(type: Jar, dependsOn: classes) {
|
|
classifier = 'sources'
|
|
from sourceSets.main.allSource
|
|
}
|
|
|
|
task javadocJar(type: Jar, dependsOn: javadoc) {
|
|
classifier = 'javadoc'
|
|
from javadoc.destinationDir
|
|
}
|
|
|
|
artifacts {
|
|
archives sourcesJar
|
|
archives javadocJar
|
|
}
|