File tree Expand file tree Collapse file tree 4 files changed +21
-17
lines changed Expand file tree Collapse file tree 4 files changed +21
-17
lines changed Original file line number Diff line number Diff line change 14
14
runs-on : ubuntu-latest
15
15
steps :
16
16
# Check out the code.
17
- - uses : actions/checkout@v4
17
+ - uses : actions/checkout@v5
18
18
19
19
# Setup the specific JDK.
20
20
- name : Setup JDK
21
- uses : actions/setup-java@v4
21
+ uses : actions/setup-java@v5
22
22
with :
23
23
java-version : ' 17'
24
24
distribution : ' adopt'
Original file line number Diff line number Diff line change @@ -5,15 +5,19 @@ plugins {
5
5
}
6
6
7
7
android {
8
+
9
+ // Kotlin and JVM configuration
10
+ val jvmTargetVal = " 17"
11
+
8
12
namespace = " com.apoorvgupta.draftjs"
9
13
compileSdk = libs.versions.android.compileSdk.get().toInt()
10
14
11
15
defaultConfig {
12
16
applicationId = " com.apoorvgupta.draftjscompose"
13
17
minSdk = libs.versions.android.minSdk.get().toInt()
14
18
targetSdk = libs.versions.android.targetSdk.get().toInt()
15
- versionCode = 1
16
- versionName = " 1.0 "
19
+ versionCode = libs.versions.version.code.get().toInt()
20
+ versionName = libs.versions.version.name.get()
17
21
18
22
testInstrumentationRunner = " androidx.test.runner.AndroidJUnitRunner"
19
23
}
@@ -25,11 +29,11 @@ android {
25
29
}
26
30
}
27
31
compileOptions {
28
- sourceCompatibility = JavaVersion .VERSION_11
29
- targetCompatibility = JavaVersion .VERSION_11
32
+ sourceCompatibility = JavaVersion .VERSION_17
33
+ targetCompatibility = JavaVersion .VERSION_17
30
34
}
31
35
kotlinOptions {
32
- jvmTarget = " 11 "
36
+ jvmTarget = jvmTargetVal
33
37
}
34
38
buildFeatures {
35
39
compose = true
Original file line number Diff line number Diff line change @@ -59,12 +59,10 @@ afterEvaluate {
59
59
publications {
60
60
create<MavenPublication >(" release" ) {
61
61
from(components[" release" ])
62
-
63
62
groupId = " com.github.apoorvgupta"
64
63
artifactId = " draftjs-compose"
65
- version = " 1.2.0 "
64
+ version = libs.versions.version.name.get()
66
65
}
67
-
68
66
}
69
67
}
70
68
}
Original file line number Diff line number Diff line change 1
1
[versions ]
2
- agp = " 8.11.1 "
2
+ agp = " 8.12.2 "
3
3
android-compileSdk = " 36"
4
4
android-minSdk = " 29"
5
5
android-targetSdk = " 36"
6
- kotlin = " 2.2.0"
7
- coreKtx = " 1.16.0"
6
+ version-code = " 1"
7
+ version-name = " 1.2.1"
8
+ kotlin = " 2.2.10"
9
+ coreKtx = " 1.17.0"
8
10
junit = " 4.13.2"
9
- junitVersion = " 1.2.1 "
10
- espressoCore = " 3.6.1 "
11
- lifecycleRuntimeKtx = " 2.9.2 "
11
+ junitVersion = " 1.3.0 "
12
+ espressoCore = " 3.7.0 "
13
+ lifecycleRuntimeKtx = " 2.9.3 "
12
14
activityCompose = " 1.10.1"
13
- composeBom = " 2025.07.00 "
15
+ composeBom = " 2025.08.01 "
14
16
appcompat = " 1.7.1"
15
17
gson = " 2.13.1"
16
18
material3 = " 1.3.2"
You can’t perform that action at this time.
0 commit comments