Skip to content

Commit

Permalink
Upgrade to compose 1.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
devkanro committed Oct 27, 2023
1 parent 92ba0c8 commit ce6a8ea
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 33 deletions.
35 changes: 19 additions & 16 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,27 +1,30 @@
plugins {
kotlin("jvm") version "1.7.20" apply false
id("org.jetbrains.compose") version "1.2.1" apply false
id("nebula.maven-publish") version "18.0.0" apply false
id("nebula.source-jar") version "18.0.0" apply false
id("nebula.info") version "11.0.1" apply false
id("com.bybutter.sisyphus.project") version "1.5.31" apply false
id("nebula.contacts") version "5.1.0"
id("com.bybutter.sisyphus.project") version "2.1.0" apply false
id("com.netflix.nebula.contacts") version "7.0.1"
id("com.netflix.nebula.info") version "12.1.6" apply false
id("com.netflix.nebula.maven-publish") version "20.3.0" apply false
id("com.netflix.nebula.source-jar") version "20.3.0" apply false
id("org.jetbrains.changelog") version "1.3.0"
id("org.jetbrains.compose") version "1.5.2" apply false
kotlin("jvm") version "1.9.10" apply false
}

allprojects {
apply(plugin = "nebula.contacts")
apply(plugin = "nebula.info")
apply(plugin = "com.netflix.nebula.contacts")
apply(plugin = "com.netflix.nebula.info")

group = "com.bybutter.compose"
version = "2.1.0"
version = "2.2.0"

contacts {
addPerson("[email protected]", delegateClosureOf<nebula.plugin.contacts.Contact> {
moniker = "higan"
github = "devkanro"
roles.add("owner")
})
addPerson(
"[email protected]",
delegateClosureOf<nebula.plugin.contacts.Contact> {
moniker = "higan"
github = "devkanro"
roles.add("owner")
},
)
}
}

Expand All @@ -43,4 +46,4 @@ subprojects {
changelog {
version.set(project.version.toString())
groups.set(emptyList())
}
}
7 changes: 4 additions & 3 deletions classic/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
plugins {
kotlin("jvm")
`java-library`
id("nebula.maven-publish")
id("nebula.source-jar")
id("com.netflix.nebula.maven-publish")
id("com.netflix.nebula.source-jar")
id("com.bybutter.sisyphus.project")
id("org.jetbrains.compose")
}

description = "JetBrains UI Kit for Compose Desktop"
Expand All @@ -16,7 +17,7 @@ dependencies {
}

tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>() {
kotlinOptions.jvmTarget = "11"
kotlinOptions.jvmTarget = "17"
kotlinOptions.freeCompilerArgs += listOf(
// "-P", "plugin:androidx.compose.compiler.plugins.kotlin:suppressKotlinVersionCompatibilityCheck=true"
)
Expand Down
23 changes: 12 additions & 11 deletions classic/src/main/kotlin/io/kanro/compose/jetbrains/control/Text.kt
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ fun Text(
emptyMap(),
onTextLayout,
style,
textColors
textColors,
)
}

Expand Down Expand Up @@ -102,18 +102,19 @@ fun Text(
fontFamily = fontFamily,
textDecoration = textDecoration,
fontStyle = fontStyle,
letterSpacing = letterSpacing
)
letterSpacing = letterSpacing,
),
)
BasicText(
text,
modifier,
mergedStyle,
onTextLayout,
overflow,
softWrap,
maxLines,
inlineContent
text = text,
modifier = modifier,
style = mergedStyle,
onTextLayout = onTextLayout,
overflow = overflow,
softWrap = softWrap,
maxLines = maxLines,
minLines = 1,
inlineContent = inlineContent,
)
}

Expand Down
5 changes: 3 additions & 2 deletions expui/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
plugins {
kotlin("jvm")
id("nebula.maven-publish")
id("nebula.source-jar")
id("com.netflix.nebula.maven-publish")
id("com.netflix.nebula.source-jar")
id("com.bybutter.sisyphus.project")
id("org.jetbrains.compose")
`java-library`
}

Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit ce6a8ea

Please sign in to comment.