Skip to content

Commit e536144

Browse files
committed
update compose to 1.5.0, gradle to 8.0.0 and agp to 8.0.0
1 parent 3962222 commit e536144

13 files changed

Lines changed: 319 additions & 281 deletions

File tree

.idea/gradle.xml

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/kotlinScripting.xml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.idea/misc.xml

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

codeeditor/build.gradle.kts

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import java.util.Properties
2-
31
plugins {
42
kotlin("multiplatform")
53
id("maven-publish")
@@ -12,12 +10,12 @@ group = "com.wakaztahir"
1210
version = findProperty("version") as String
1311

1412
kotlin {
15-
android {
13+
androidTarget {
1614
publishLibraryVariants("release")
1715
}
1816
jvm("desktop") {
1917
compilations.all {
20-
kotlinOptions.jvmTarget = "11"
18+
kotlinOptions.jvmTarget = "17"
2119
}
2220
}
2321
js(IR) {
@@ -62,14 +60,15 @@ kotlin {
6260
}
6361

6462
android {
65-
compileSdk = 32
63+
compileSdk = 34
6664
sourceSets["main"].manifest.srcFile("src/androidMain/AndroidManifest.xml")
6765
defaultConfig {
6866
minSdk = 21
69-
targetSdk = 32
67+
targetSdk = 33
7068
}
7169
compileOptions {
72-
sourceCompatibility = JavaVersion.VERSION_1_8
73-
targetCompatibility = JavaVersion.VERSION_1_8
70+
sourceCompatibility = JavaVersion.VERSION_17
71+
targetCompatibility = JavaVersion.VERSION_17
7472
}
73+
namespace = "com.wakaztahir.codeeditor"
7574
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.wakaztahir.codeeditor"/>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"/>

demo/android/build.gradle.kts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ dependencies {
1010
}
1111

1212
android {
13-
compileSdk = 33
13+
compileSdk = 34
1414
defaultConfig {
1515
applicationId = "com.wakaztahir.android"
1616
minSdk = 21
@@ -19,7 +19,8 @@ android {
1919
versionName = "1.0.0"
2020
}
2121
compileOptions {
22-
sourceCompatibility = JavaVersion.VERSION_1_8
23-
targetCompatibility = JavaVersion.VERSION_1_8
22+
sourceCompatibility = JavaVersion.VERSION_17
23+
targetCompatibility = JavaVersion.VERSION_17
2424
}
25+
namespace = "com.wakaztahir.android"
2526
}

demo/android/src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.wakaztahir.android">
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
33
<application
44
android:allowBackup="false"
55
android:supportsRtl="true">

demo/common/build.gradle.kts

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ plugins {
55
}
66

77
kotlin {
8-
android()
8+
androidTarget()
99
jvm("desktop") {
1010
compilations.all {
11-
kotlinOptions.jvmTarget = "11"
11+
kotlinOptions.jvmTarget = "17"
1212
}
1313
}
1414
js(IR) {
@@ -46,14 +46,15 @@ kotlin {
4646
}
4747

4848
android {
49-
compileSdk = 31
49+
compileSdk = 34
5050
sourceSets["main"].manifest.srcFile("src/androidMain/AndroidManifest.xml")
5151
defaultConfig {
5252
minSdk = 21
5353
targetSdk = 31
5454
}
5555
compileOptions {
56-
sourceCompatibility = JavaVersion.VERSION_1_8
57-
targetCompatibility = JavaVersion.VERSION_1_8
56+
sourceCompatibility = JavaVersion.VERSION_17
57+
targetCompatibility = JavaVersion.VERSION_17
5858
}
59+
namespace = "com.wakaztahir.common"
5960
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.wakaztahir.common"/>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"/>

demo/desktop/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ plugins {
88
kotlin {
99
jvm {
1010
compilations.all {
11-
kotlinOptions.jvmTarget = "11"
11+
kotlinOptions.jvmTarget = "17"
1212
}
1313
}
1414
sourceSets {

0 commit comments

Comments
 (0)