File tree Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ val targetSdkVersion by extra(28)
23
23
val minSdkVersion by extra(14 )
24
24
25
25
26
-
27
26
tasks {
28
27
val downloadIOSFirebaseZipFile by creating(Download ::class ) {
29
28
onlyIfModified(true )
@@ -37,7 +36,7 @@ tasks {
37
36
dependsOn(downloadIOSFirebaseZipFile)
38
37
from(zipTree(downloadIOSFirebaseZipFile.dest))
39
38
into(" $buildDir " )
40
- outputs.upToDateWhen { File (" $rootDir / $ buildDir /Firebase" ).isDirectory }
39
+ outputs.upToDateWhen { File (" $buildDir /Firebase" ).isDirectory }
41
40
}
42
41
43
42
}
@@ -46,13 +45,20 @@ subprojects {
46
45
47
46
group = " dev.gitlive"
48
47
48
+
49
49
repositories {
50
50
mavenLocal()
51
51
mavenCentral()
52
52
google()
53
53
jcenter()
54
54
}
55
55
56
+ var shouldSign = true
57
+
58
+ tasks.withType<Sign >().configureEach {
59
+ onlyIf { shouldSign }
60
+ }
61
+
56
62
57
63
tasks {
58
64
@@ -119,6 +125,10 @@ subprojects {
119
125
tasks.getByPath(" compileKotlinIos" ).dependsOn(rootProject.tasks.named(" unzipIOSFirebase" ))
120
126
tasks.getByPath(" compileKotlinIosArm64" ).dependsOn(rootProject.tasks.named(" unzipIOSFirebase" ))
121
127
128
+ tasks.named(" publishToMavenLocal" ).configure {
129
+ shouldSign = false
130
+ }
131
+
122
132
dependencies {
123
133
" commonMainImplementation" (kotlin(" stdlib-common" ))
124
134
" commonMainImplementation" (" org.jetbrains.kotlinx:kotlinx-coroutines-core-common:1.3.4" )
Original file line number Diff line number Diff line change @@ -85,6 +85,3 @@ kotlin {
85
85
signing {
86
86
sign(publishing.publications)
87
87
}
88
-
89
- tasks.getByPath(" compileKotlinIos" ).dependsOn(rootProject.tasks.named(" unzipIOSFirebase" ))
90
- tasks.getByPath(" compileKotlinIosArm64" ).dependsOn(rootProject.tasks.named(" unzipIOSFirebase" ))
You can’t perform that action at this time.
0 commit comments