diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 856ae4df..a8ad7df4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,3 +24,6 @@ jobs: uses: gradle/actions/setup-gradle@v3 - name: Build with Gradle run: ./gradlew build + env: + ORG_GRADLE_PROJECT_ossrhToken: ${{ secrets.OSSRH_TOKEN }} + ORG_GRADLE_PROJECT_ossrhTokenPassword: ${{ secrets.OSSRH_TOKEN_PASSWORD }} diff --git a/site/site.gradle.kts b/site/site.gradle.kts index 79cd2f5e..b05736e7 100644 --- a/site/site.gradle.kts +++ b/site/site.gradle.kts @@ -1,5 +1,6 @@ @file:Suppress("KDocMissingDocumentation") +import org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_18 import org.jetbrains.kotlin.gradle.tasks.KotlinCompile /* @@ -50,7 +51,7 @@ orchid { } val compileOrchidKotlin by tasks.getting(KotlinCompile::class) { - kotlinOptions { - jvmTarget = JavaVersion.VERSION_1_8.toString() + compilerOptions { + jvmTarget.set(JVM_18) } }