Skip to content

Commit 7f263f1

Browse files
committed
Fixed compilation from clean environment in gradle
1 parent 65117a3 commit 7f263f1

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

android/buildSrc/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
plugins {
22
id("org.jetbrains.kotlin.jvm") version "1.8.22"
3+
`kotlin-dsl`
34
}
45

56
repositories {

android/pebblekit_android/build.gradle.kts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
plugins {
22
alias(libs.plugins.android.library)
3+
alias(libs.plugins.android.kotlin)
34
}
45

56
android {
@@ -26,12 +27,16 @@ android {
2627
sourceCompatibility = JavaVersion.VERSION_1_8
2728
targetCompatibility = JavaVersion.VERSION_1_8
2829
}
30+
kotlinOptions {
31+
jvmTarget = "1.8"
32+
}
2933
}
3034

3135
dependencies {
3236

3337
implementation(libs.androidx.appcompat)
3438
implementation(libs.material)
39+
implementation(libs.androidx.core.ktx)
3540
testImplementation(libs.junit)
3641
androidTestImplementation(libs.androidx.junit)
3742
androidTestImplementation(libs.androidx.espresso.core)

0 commit comments

Comments
 (0)