Skip to content

Commit 28159e4

Browse files
committed
Update Gradle to 9.0
Our old Gradle plugin requires Kotlin 2.2.0 in Gradle runtime to work, because ParseKt refers to the new kotlin.time.Instant class Removing SimpleGit because it's for now incompatible with 9.0
1 parent 295fe51 commit 28159e4

File tree

5 files changed

+6
-18
lines changed

5 files changed

+6
-18
lines changed

core/build.gradle.kts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import nl.jolanrensen.kodex.gradle.creatingRunKodexTask
55
import org.gradle.jvm.tasks.Jar
66
import org.gradle.kotlin.dsl.withType
77
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
8-
import xyz.ronella.gradle.plugin.simple.git.task.GitTask
98

109
plugins {
1110
with(libs.plugins) {
@@ -16,7 +15,6 @@ plugins {
1615
// alias(kover)
1716
alias(ktlint)
1817
alias(kodex)
19-
alias(simpleGit)
2018
alias(buildconfig)
2119
alias(binary.compatibility.validator)
2220

@@ -152,23 +150,13 @@ val clearSamplesOutputs by tasks.registering {
152150
}
153151
}
154152

155-
val addSamplesToGit by tasks.registering(GitTask::class, fun GitTask.() {
156-
directory = file(".")
157-
command = "add"
158-
args = listOf("-A", "../docs/StardustDocs/resources/snippets")
159-
})
160-
161153
val copySamplesOutputs = tasks.register<JavaExec>("copySamplesOutputs") {
162154
group = "documentation"
163155
mainClass = "org.jetbrains.kotlinx.dataframe.explainer.SampleAggregatorKt"
164156

165157
dependsOn(clearSamplesOutputs)
166158
dependsOn(samplesTest)
167159
classpath = sourceSets.test.get().runtimeClasspath
168-
169-
doLast {
170-
addSamplesToGit.get().executeCommand()
171-
}
172160
}
173161

174162
tasks.withType<KorroTask> {

examples/kotlin-dataframe-plugin-example/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import org.jlleitschuh.gradle.ktlint.KtlintExtension
22

33
plugins {
44
id("org.jlleitschuh.gradle.ktlint") version "12.3.0"
5-
kotlin("jvm") version "2.2.20-dev-3524"
6-
kotlin("plugin.dataframe") version "2.2.20-dev-3524"
5+
kotlin("jvm") version "2.2.20-Beta1"
6+
kotlin("plugin.dataframe") version "2.2.20-Beta1"
77
}
88

99
group = "org.example"

gradle/libs.versions.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ kotlinJupyter = "0.15.0-587"
55
ktlint = "12.3.0"
66

77
# make sure to sync both manually with :generator module
8-
kotlin = "2.2.0" # needs jupyter compatibility with Kotlin 2.1 to update
8+
kotlin = "2.2.20-Beta1"
99
kotlinpoet = "2.2.0"
1010

1111
dokka = "2.0.0"
1212
libsPublisher = "2.2.0-dev-61"
1313

1414
# "Bootstrap" version of the dataframe, used in the build itself to generate @DataSchema APIs,
1515
# dogfood Gradle / KSP plugins in tests and idea-examples modules
16-
dataframe = "1.0.0-dev-6538"
16+
dataframe = "1.0.0-dev-8314"
1717
korro = "0.1.6"
1818

1919
binaryCompatibilityValidator = "0.17.0"

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.2-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.0.0-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
kotlinPoetVersion=2.2.0
1+
kotlinPoetVersion=2.2.20-Beta1

0 commit comments

Comments
 (0)