rework to use just Java target

This commit is contained in:
InsanusMokrassar 2024-09-07 22:55:33 +06:00
parent 9af72d5d0f
commit 0273284023
18 changed files with 17 additions and 19 deletions

View File

@ -3,7 +3,7 @@ plugins {
id "org.jetbrains.kotlin.plugin.serialization" id "org.jetbrains.kotlin.plugin.serialization"
} }
apply from: "$mppProjectWithSerializationPresetPath" apply from: "$mppJavaProjectPresetPath"
kotlin { kotlin {
sourceSets { sourceSets {

View File

@ -13,9 +13,7 @@ allprojects {
projectByName(name) projectByName(name)
} }
mppProjectWithSerializationPresetPath = "${rootProject.projectDir.absolutePath}/mppProjectWithSerialization.gradle"
mppJavaProjectPresetPath = "${rootProject.projectDir.absolutePath}/mppJavaProject.gradle" mppJavaProjectPresetPath = "${rootProject.projectDir.absolutePath}/mppJavaProject.gradle"
mppJsProjectPresetPath = "${rootProject.projectDir.absolutePath}/mppJsProject.gradle"
mppAndroidProjectPresetPath = "${rootProject.projectDir.absolutePath}/mppAndroidProject.gradle" mppAndroidProjectPresetPath = "${rootProject.projectDir.absolutePath}/mppAndroidProject.gradle"
defaultAndroidSettingsPresetPath = "${rootProject.projectDir.absolutePath}/defaultAndroidSettings.gradle" defaultAndroidSettingsPresetPath = "${rootProject.projectDir.absolutePath}/defaultAndroidSettings.gradle"

View File

@ -3,7 +3,7 @@ plugins {
id "org.jetbrains.kotlin.plugin.serialization" id "org.jetbrains.kotlin.plugin.serialization"
} }
apply from: "$mppProjectWithSerializationPresetPath" apply from: "$mppJavaProjectPresetPath"
kotlin { kotlin {
sourceSets { sourceSets {

View File

@ -3,7 +3,7 @@ plugins {
id "org.jetbrains.kotlin.plugin.serialization" id "org.jetbrains.kotlin.plugin.serialization"
} }
apply from: "$mppProjectWithSerializationPresetPath" apply from: "$mppJavaProjectPresetPath"
kotlin { kotlin {
sourceSets { sourceSets {

View File

@ -3,7 +3,7 @@ plugins {
id "org.jetbrains.kotlin.plugin.serialization" id "org.jetbrains.kotlin.plugin.serialization"
} }
apply from: "$mppProjectWithSerializationPresetPath" apply from: "$mppJavaProjectPresetPath"
kotlin { kotlin {
sourceSets { sourceSets {

View File

@ -3,7 +3,7 @@ plugins {
id "org.jetbrains.kotlin.plugin.serialization" id "org.jetbrains.kotlin.plugin.serialization"
} }
apply from: "$mppProjectWithSerializationPresetPath" apply from: "$mppJavaProjectPresetPath"
kotlin { kotlin {
sourceSets { sourceSets {

View File

@ -3,7 +3,7 @@ plugins {
id "org.jetbrains.kotlin.plugin.serialization" id "org.jetbrains.kotlin.plugin.serialization"
} }
apply from: "$mppProjectWithSerializationPresetPath" apply from: "$mppJavaProjectPresetPath"
kotlin { kotlin {
sourceSets { sourceSets {

View File

@ -3,7 +3,7 @@ plugins {
id "org.jetbrains.kotlin.plugin.serialization" id "org.jetbrains.kotlin.plugin.serialization"
} }
apply from: "$mppProjectWithSerializationPresetPath" apply from: "$mppJavaProjectPresetPath"
kotlin { kotlin {
sourceSets { sourceSets {

View File

@ -3,7 +3,7 @@ plugins {
id "org.jetbrains.kotlin.plugin.serialization" id "org.jetbrains.kotlin.plugin.serialization"
} }
apply from: "$mppProjectWithSerializationPresetPath" apply from: "$mppJavaProjectPresetPath"
kotlin { kotlin {
sourceSets { sourceSets {

View File

@ -3,7 +3,7 @@ plugins {
id "org.jetbrains.kotlin.plugin.serialization" id "org.jetbrains.kotlin.plugin.serialization"
} }
apply from: "$mppProjectWithSerializationPresetPath" apply from: "$mppJavaProjectPresetPath"
kotlin { kotlin {
sourceSets { sourceSets {

View File

@ -3,7 +3,7 @@ plugins {
id "org.jetbrains.kotlin.plugin.serialization" id "org.jetbrains.kotlin.plugin.serialization"
} }
apply from: "$mppProjectWithSerializationPresetPath" apply from: "$mppJavaProjectPresetPath"
kotlin { kotlin {
sourceSets { sourceSets {

View File

@ -4,7 +4,7 @@ plugins {
id "com.android.library" id "com.android.library"
} }
apply from: "$mppProjectWithSerializationPresetPath" apply from: "$mppJavaProjectPresetPath"
kotlin { kotlin {
sourceSets { sourceSets {

View File

@ -3,7 +3,7 @@ plugins {
id "org.jetbrains.kotlin.plugin.serialization" id "org.jetbrains.kotlin.plugin.serialization"
} }
apply from: "$mppProjectWithSerializationPresetPath" apply from: "$mppJavaProjectPresetPath"
kotlin { kotlin {
sourceSets { sourceSets {

View File

@ -3,7 +3,7 @@ plugins {
id "org.jetbrains.kotlin.plugin.serialization" id "org.jetbrains.kotlin.plugin.serialization"
} }
apply from: "$mppProjectWithSerializationPresetPath" apply from: "$mppJavaProjectPresetPath"
kotlin { kotlin {
sourceSets { sourceSets {

View File

@ -4,7 +4,7 @@ plugins {
} }
apply from: "$mppProjectWithSerializationPresetPath" apply from: "$mppJavaProjectPresetPath"
kotlin { kotlin {
sourceSets { sourceSets {

View File

@ -3,7 +3,7 @@ plugins {
id "org.jetbrains.kotlin.plugin.serialization" id "org.jetbrains.kotlin.plugin.serialization"
} }
apply from: "$mppProjectWithSerializationPresetPath" apply from: "$mppJavaProjectPresetPath"
kotlin { kotlin {
sourceSets { sourceSets {

View File

@ -3,7 +3,7 @@ plugins {
id "org.jetbrains.kotlin.plugin.serialization" id "org.jetbrains.kotlin.plugin.serialization"
} }
apply from: "$mppProjectWithSerializationPresetPath" apply from: "$mppJavaProjectPresetPath"
kotlin { kotlin {
sourceSets { sourceSets {

View File

@ -3,7 +3,7 @@ plugins {
id "org.jetbrains.kotlin.plugin.serialization" id "org.jetbrains.kotlin.plugin.serialization"
} }
apply from: "$mppProjectWithSerializationPresetPath" apply from: "$mppJavaProjectPresetPath"
kotlin { kotlin {
sourceSets { sourceSets {