2018-01-27 12:00:44 +01:00
|
|
|
apply plugin: 'java-library'
|
|
|
|
apply plugin: 'kotlin'
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
2018-09-14 18:36:05 +02:00
|
|
|
//noinspection DifferentStdlibGradleVersion
|
2019-07-12 06:38:19 +02:00
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
2018-01-29 01:50:37 +01:00
|
|
|
|
Android Studio 4.0.0, Android gradple plugin 4.0.1, Gradle 6.1.1, kotlin 1.4.0, espresso-core:3.3.0-rc03, androidx.test:runner:1.3.0-rc03, androidx.appcompat 1.2.0, androidx.core-ktx 1.3.1, androidx.drawerlayout 1.1.0, androidx.preference 1.1.1, com.google.android.material 1.2.0, firebase-messaging 20.2.4, com.google.android:flexbox 2.0.1, junit 4.13
2020-08-23 00:15:27 +02:00
|
|
|
testImplementation "junit:junit:$junit_version"
|
2018-01-27 12:00:44 +01:00
|
|
|
}
|
|
|
|
|
2020-09-08 22:17:32 +02:00
|
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
2021-11-06 04:00:29 +01:00
|
|
|
|
|
|
|
compileKotlin {
|
|
|
|
|
|
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
|
|
|
|
kotlinOptions {
|
|
|
|
jvmTarget = jvm_target
|
|
|
|
useIR = true
|
|
|
|
freeCompilerArgs += [
|
|
|
|
"-Xopt-in=kotlin.ExperimentalStdlibApi",
|
|
|
|
"-Xopt-in=kotlinx.coroutines.ExperimentalCoroutinesApi",
|
|
|
|
"-Xopt-in=kotlinx.serialization.ExperimentalSerializationApi",
|
|
|
|
"-Xopt-in=androidx.compose.foundation.ExperimentalFoundationApi",
|
|
|
|
"-Xopt-in=androidx.compose.animation.ExperimentalAnimationApi",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|