Revert "rework to use just Java target"

This reverts commit 0273284023.
This commit is contained in:
InsanusMokrassar 2024-09-07 22:58:56 +06:00
parent 0273284023
commit c2612ec6e9
18 changed files with 19 additions and 17 deletions

View File

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

View File

@ -13,7 +13,9 @@ 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: "$mppJavaProjectPresetPath" apply from: "$mppProjectWithSerializationPresetPath"
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: "$mppJavaProjectPresetPath" apply from: "$mppProjectWithSerializationPresetPath"
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: "$mppJavaProjectPresetPath" apply from: "$mppProjectWithSerializationPresetPath"
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: "$mppJavaProjectPresetPath" apply from: "$mppProjectWithSerializationPresetPath"
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: "$mppJavaProjectPresetPath" apply from: "$mppProjectWithSerializationPresetPath"
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: "$mppJavaProjectPresetPath" apply from: "$mppProjectWithSerializationPresetPath"
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: "$mppJavaProjectPresetPath" apply from: "$mppProjectWithSerializationPresetPath"
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: "$mppJavaProjectPresetPath" apply from: "$mppProjectWithSerializationPresetPath"
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: "$mppJavaProjectPresetPath" apply from: "$mppProjectWithSerializationPresetPath"
kotlin { kotlin {
sourceSets { sourceSets {

View File

@ -4,7 +4,7 @@ plugins {
id "com.android.library" id "com.android.library"
} }
apply from: "$mppJavaProjectPresetPath" apply from: "$mppProjectWithSerializationPresetPath"
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: "$mppJavaProjectPresetPath" apply from: "$mppProjectWithSerializationPresetPath"
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: "$mppJavaProjectPresetPath" apply from: "$mppProjectWithSerializationPresetPath"
kotlin { kotlin {
sourceSets { sourceSets {

View File

@ -4,7 +4,7 @@ plugins {
} }
apply from: "$mppJavaProjectPresetPath" apply from: "$mppProjectWithSerializationPresetPath"
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: "$mppJavaProjectPresetPath" apply from: "$mppProjectWithSerializationPresetPath"
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: "$mppJavaProjectPresetPath" apply from: "$mppProjectWithSerializationPresetPath"
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: "$mppJavaProjectPresetPath" apply from: "$mppProjectWithSerializationPresetPath"
kotlin { kotlin {
sourceSets { sourceSets {