Skip to content

Commit f205592

Browse files
committed
chore: bump dependencies
1 parent 1a0dcd9 commit f205592

File tree

6 files changed

+18
-20
lines changed

6 files changed

+18
-20
lines changed

build.gradle.kts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import com.vanniktech.maven.publish.AndroidSingleVariantLibrary
22
import com.vanniktech.maven.publish.MavenPublishBaseExtension
33
import org.jetbrains.dokka.gradle.DokkaTask
4+
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
5+
import org.jetbrains.kotlin.gradle.tasks.KotlinJvmCompile
46

57
plugins {
68
autowire(libs.plugins.android.application) apply false
@@ -50,6 +52,19 @@ libraryProjects {
5052
}
5153
}
5254

55+
allprojects {
56+
tasks.withType<KotlinJvmCompile>().configureEach {
57+
compilerOptions {
58+
jvmTarget = JvmTarget.JVM_17
59+
freeCompilerArgs.addAll(
60+
"-Xno-param-assertions",
61+
"-Xno-call-assertions",
62+
"-Xno-receiver-assertions"
63+
)
64+
}
65+
}
66+
}
67+
5368
fun libraryProjects(action: Action<in Project>) {
5469
val libraries = listOf(
5570
Libraries.PANGUTEXT_ANDROID,

demo-android/build.gradle.kts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,6 @@ android {
2525
sourceCompatibility = JavaVersion.VERSION_17
2626
targetCompatibility = JavaVersion.VERSION_17
2727
}
28-
kotlinOptions {
29-
jvmTarget = "17"
30-
freeCompilerArgs = listOf(
31-
"-Xno-param-assertions",
32-
"-Xno-call-assertions",
33-
"-Xno-receiver-assertions"
34-
)
35-
}
3628
buildFeatures {
3729
buildConfig = true
3830
viewBinding = true

gradle.properties

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
33
android.useAndroidX=true
44
android.nonTransitiveRClass=true
55
kotlin.code.style=official
6-
kotlin.incremental.useClasspathSnapshot=true
76
# Project Configuration
87
project.name=PanguText
98
project.url=https://github.com/BetterAndroid/PanguText

gradle/sweet-dependency/sweet-dependency-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ repositories:
1313
plugins:
1414
com.android.application:
1515
alias: android-application
16-
version: 8.9.3
16+
version: 8.12.1
1717
com.android.library:
1818
alias: android-library
1919
version-ref: com.android.application
2020
org.jetbrains.kotlin.android:
2121
alias: kotlin-android
22-
version: 2.1.10
22+
version: 2.2.10
2323
org.jetbrains.dokka:
2424
alias: kotlin-dokka
2525
version: 1.9.20

pangutext-android/build.gradle.kts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,6 @@ android {
2727
sourceCompatibility = JavaVersion.VERSION_17
2828
targetCompatibility = JavaVersion.VERSION_17
2929
}
30-
kotlinOptions {
31-
jvmTarget = "17"
32-
freeCompilerArgs = listOf(
33-
"-Xno-param-assertions",
34-
"-Xno-call-assertions",
35-
"-Xno-receiver-assertions"
36-
)
37-
}
3830
}
3931

4032
dependencies {

settings.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ pluginManagement {
88
}
99
plugins {
1010
id("com.highcapable.sweetdependency") version "1.0.4"
11-
id("com.highcapable.sweetproperty") version "1.0.5"
11+
id("com.highcapable.sweetproperty") version "1.0.8"
1212
}
1313
sweetProperty {
1414
rootProject { all { isEnable = false } }

0 commit comments

Comments
 (0)