File tree Expand file tree Collapse file tree 5 files changed +41
-59
lines changed Expand file tree Collapse file tree 5 files changed +41
-59
lines changed Original file line number Diff line number Diff line change @@ -28,13 +28,13 @@ subprojects {
28
28
jcenter()
29
29
}
30
30
31
- tasks.withType<KotlinCompile <* >> {
32
- kotlinOptions.freeCompilerArgs + = listOf (
33
- " -Xuse-experimental=kotlin.Experimental" ,
34
- " -Xuse-experimental=kotlinx.coroutines.ExperimentalCoroutinesApi" ,
35
- " -Xuse-experimental=kotlinx.serialization.ImplicitReflectionSerializer"
36
- )
37
- }
31
+ // tasks.withType<KotlinCompile<*>> {
32
+ // kotlinOptions.freeCompilerArgs += listOf(
33
+ // "-Xuse-experimental=kotlin.Experimental",
34
+ // "-Xuse-experimental=kotlinx.coroutines.ExperimentalCoroutinesApi",
35
+ // "-Xuse-experimental=kotlinx.serialization.ImplicitReflectionSerializer"
36
+ // )
37
+ // }
38
38
39
39
afterEvaluate {
40
40
dependencies {
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ kotlin {
63
63
sourceSets {
64
64
val commonMain by getting {
65
65
dependencies {
66
- implementation(project(" :firebase-common" ))
66
+ // implementation(project(":firebase-common"))
67
67
}
68
68
}
69
69
val androidMain by getting {
Original file line number Diff line number Diff line change @@ -32,21 +32,15 @@ kotlin {
32
32
android {
33
33
publishLibraryVariants(" release" , " debug" )
34
34
}
35
- val buildForDevice = project.findProperty(" kotlin.native.cocoapods.target" ) == " ios_arm"
36
- val iosMain by sourceSets.creating
37
- if (buildForDevice) {
38
- iosArm64(" ios64" )
39
- sourceSets[" ios64Main" ].dependsOn(iosMain)
40
- } else {
41
- iosX64(" ios" )
42
- }
43
- jvm {
44
- val main by compilations.getting {
45
- kotlinOptions {
46
- jvmTarget = " 1.8"
47
- }
48
- }
49
- }
35
+ val iosArm64 = iosArm64()
36
+ val iosX64 = iosX64()
37
+ // jvm {
38
+ // val main by compilations.getting {
39
+ // kotlinOptions {
40
+ // jvmTarget = "1.8"
41
+ // }
42
+ // }
43
+ // }
50
44
51
45
sourceSets {
52
46
val commonMain by getting {
@@ -60,13 +54,13 @@ kotlin {
60
54
api(" com.google.firebase:firebase-auth:19.1.0" )
61
55
}
62
56
}
63
- val iosMain by getting {
57
+ val iosMain by creating {
64
58
dependencies {
65
59
}
66
60
}
67
- val jvmMain by getting {
68
- kotlin.srcDir(" src/androidMain/kotlin" )
69
- }
61
+ // val jvmMain by getting {
62
+ // kotlin.srcDir("src/androidMain/kotlin")
63
+ // }
70
64
}
71
65
}
72
66
Original file line number Diff line number Diff line change @@ -32,21 +32,15 @@ kotlin {
32
32
android {
33
33
publishLibraryVariants(" release" , " debug" )
34
34
}
35
- val buildForDevice = project.findProperty(" kotlin.native.cocoapods.target" ) == " ios_arm"
36
- val iosMain by sourceSets.creating
37
- if (buildForDevice) {
38
- iosArm64(" ios64" )
39
- sourceSets[" ios64Main" ].dependsOn(iosMain)
40
- } else {
41
- iosX64(" ios" )
42
- }
43
- jvm {
44
- val main by compilations.getting {
45
- kotlinOptions {
46
- jvmTarget = " 1.8"
47
- }
48
- }
49
- }
35
+ val iosArm64 = iosArm64()
36
+ val iosX64 = iosX64()
37
+ // jvm {
38
+ // val main by compilations.getting {
39
+ // kotlinOptions {
40
+ // jvmTarget = "1.8"
41
+ // }
42
+ // }
43
+ // }
50
44
51
45
sourceSets {
52
46
val commonMain by getting {
@@ -62,7 +56,7 @@ kotlin {
62
56
implementation(" org.jetbrains.kotlinx:kotlinx-serialization-runtime:0.14.0" )
63
57
}
64
58
}
65
- val iosMain by getting {
59
+ val iosMain by creating {
66
60
dependencies {
67
61
}
68
62
}
Original file line number Diff line number Diff line change @@ -32,21 +32,15 @@ kotlin {
32
32
android {
33
33
publishLibraryVariants(" release" , " debug" )
34
34
}
35
- val buildForDevice = project.findProperty(" kotlin.native.cocoapods.target" ) == " ios_arm"
36
- val iosMain by sourceSets.creating
37
- if (buildForDevice) {
38
- iosArm64(" ios64" )
39
- sourceSets[" ios64Main" ].dependsOn(iosMain)
40
- } else {
41
- iosX64(" ios" )
42
- }
43
- jvm {
44
- val main by compilations.getting {
45
- kotlinOptions {
46
- jvmTarget = " 1.8"
47
- }
48
- }
49
- }
35
+ val iosArm64 = iosArm64()
36
+ val iosX64 = iosX64()
37
+ // jvm {
38
+ // val main by compilations.getting {
39
+ // kotlinOptions {
40
+ // jvmTarget = "1.8"
41
+ // }
42
+ // }
43
+ // }
50
44
51
45
sourceSets {
52
46
val commonMain by getting {
@@ -62,7 +56,7 @@ kotlin {
62
56
implementation(" org.jetbrains.kotlinx:kotlinx-serialization-runtime:0.14.0" )
63
57
}
64
58
}
65
- val iosMain by getting {
59
+ val iosMain by creating {
66
60
dependencies {
67
61
}
68
62
}
You can’t perform that action at this time.
0 commit comments