Revision 25ec01e8
Added by Leszek Koltunski 6 months ago
| build.gradle | ||
|---|---|---|
| 1 |
plugins {
|
|
| 2 |
alias(libs.plugins.kotlin.android) |
|
| 3 |
} |
|
| 1 | 4 |
apply plugin: 'com.android.library' |
| 2 | 5 |
|
| 3 | 6 |
android {
|
| 4 |
compileSdk 34
|
|
| 7 |
compileSdk 35
|
|
| 5 | 8 |
|
| 6 | 9 |
defaultConfig {
|
| 7 | 10 |
minSdk 21 |
| 8 |
targetSdk 34
|
|
| 11 |
targetSdk 35
|
|
| 9 | 12 |
} |
| 10 | 13 |
|
| 11 | 14 |
buildTypes {
|
| ... | ... | |
| 19 | 22 |
sourceCompatibility JavaVersion.VERSION_11 |
| 20 | 23 |
targetCompatibility JavaVersion.VERSION_11 |
| 21 | 24 |
} |
| 25 |
kotlinOptions {
|
|
| 26 |
jvmTarget = '11' |
|
| 27 |
} |
|
| 28 |
} |
|
| 29 |
|
|
| 30 |
dependencies {
|
|
| 31 |
implementation libs.core.ktx |
|
| 22 | 32 |
} |
| 23 | 33 |
|
Also available in: Unified diff
first two files converted to Kotlin