Skip to content

Commit

Permalink
trying a different place to configure
Browse files Browse the repository at this point in the history
  • Loading branch information
faogustavo committed Aug 19, 2024
1 parent ba5a814 commit 58e9a44
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
8 changes: 0 additions & 8 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

plugins {
alias(libs.plugins.kotlin.multiplatform) apply false
alias(libs.plugins.android.library) apply false
Expand Down Expand Up @@ -28,10 +26,4 @@ val VERSION_NAME: String by project
allprojects {
group = GROUP
version = VERSION_NAME
}

subprojects {
tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "1.8"
}
}
5 changes: 5 additions & 0 deletions convention-plugins/src/main/kotlin/kmp-setup.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootExtension
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

plugins {
kotlin("multiplatform")
Expand Down Expand Up @@ -64,4 +65,8 @@ kotlin {
rootProject.the<NodeJsRootExtension>().apply {
nodeVersion = "21.0.0-v8-canary202309143a48826a08"
nodeDownloadBaseUrl = "https://nodejs.org/download/v8-canary"
}

tasks.withType<KotlinCompile>().all {
kotlinOptions.jvmTarget = "1.8"
}

0 comments on commit 58e9a44

Please sign in to comment.