51 lines
1.2 KiB
Groovy
51 lines
1.2 KiB
Groovy
buildscript {
|
|
ext.kotlin_version = '1.2.50'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
dependencies {
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
}
|
|
}
|
|
|
|
plugins {
|
|
id 'java'
|
|
}
|
|
|
|
group 'io.github.wulkanowy'
|
|
version '0.1.0-SNAPSHOT'
|
|
|
|
apply plugin: 'kotlin'
|
|
|
|
sourceCompatibility = 1.8
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
jcenter()
|
|
maven { url "https://jitpack.io" }
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'com.github.VLO-GDA:uonet-sdk:master-SNAPSHOT'
|
|
|
|
implementation 'com.google.code.gson:gson:2.8.2'
|
|
implementation 'com.squareup.retrofit2:retrofit:2.3.0'
|
|
implementation 'com.squareup.retrofit2:converter-gson:2.3.0'
|
|
|
|
implementation 'io.reactivex:rxjava:1.1.6'
|
|
implementation 'io.reactivex:rxandroid:1.2.1'
|
|
implementation 'com.squareup.retrofit2:adapter-rxjava:2.1.0'
|
|
implementation 'com.squareup.okhttp3:logging-interceptor:3.8.0'
|
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
|
|
|
|
testImplementation group: 'junit', name: 'junit', version: '4.12'
|
|
}
|
|
|
|
compileKotlin {
|
|
kotlinOptions.jvmTarget = "1.8"
|
|
}
|
|
compileTestKotlin {
|
|
kotlinOptions.jvmTarget = "1.8"
|
|
}
|