Skip to content

Commit 1a2a546

Browse files
committed
Update Kotlin and dependency versions
1 parent c2ec55a commit 1a2a546

File tree

4 files changed

+31
-20
lines changed

4 files changed

+31
-20
lines changed

.idea/kotlinc.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

android-wave-recorder/build.gradle

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,22 @@ android {
1919
}
2020
}
2121
namespace 'com.github.squti.androidwaverecorder'
22-
22+
compileOptions {
23+
sourceCompatibility JavaVersion.VERSION_1_8
24+
targetCompatibility JavaVersion.VERSION_1_8
25+
}
26+
kotlinOptions {
27+
jvmTarget = '1.8'
28+
}
2329
}
2430

2531
dependencies {
2632
implementation fileTree(dir: 'libs', include: ['*.jar'])
27-
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.5.31'
28-
implementation 'androidx.appcompat:appcompat:1.1.0'
29-
implementation 'androidx.core:core-ktx:1.7.0'
30-
testImplementation 'junit:junit:4.12'
31-
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
32-
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
33-
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.2'
34-
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.5.2'
33+
implementation 'androidx.appcompat:appcompat:1.6.1'
34+
implementation 'androidx.core:core-ktx:1.10.1'
35+
testImplementation 'junit:junit:4.13.2'
36+
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
37+
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
38+
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.1'
39+
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.1'
3540
}

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ buildscript {
88
}
99
dependencies {
1010
classpath 'com.android.tools.build:gradle:8.3.2'
11-
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.21'
11+
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.0'
1212
// NOTE: Do not place your application dependencies here; they belong
1313
// in the individual module build.gradle files
1414
}

sample/build.gradle

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,24 @@ android {
2222
}
2323
}
2424
namespace 'com.github.squti.androidwaverecordersample'
25+
compileOptions {
26+
sourceCompatibility JavaVersion.VERSION_1_8
27+
targetCompatibility JavaVersion.VERSION_1_8
28+
}
29+
kotlinOptions {
30+
jvmTarget = '1.8'
31+
}
2532
}
2633

2734
dependencies {
2835
implementation fileTree(dir: 'libs', include: ['*.jar'])
29-
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.5.31'
30-
implementation 'androidx.appcompat:appcompat:1.1.0'
31-
implementation 'androidx.core:core-ktx:1.1.0'
32-
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
33-
testImplementation 'junit:junit:4.12'
34-
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
35-
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
36-
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.1'
37-
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.1'
36+
implementation 'androidx.appcompat:appcompat:1.6.1'
37+
implementation 'androidx.core:core-ktx:1.10.1'
38+
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
39+
testImplementation 'junit:junit:4.13.2'
40+
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
41+
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
42+
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.1'
43+
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.1'
3844
implementation project(':android-wave-recorder')
3945
}

0 commit comments

Comments
 (0)