1+ /*
2+ * Copyright (C) 2018 Touchlab, Inc.
3+ *
4+ * Licensed under the Apache License, Version 2.0 (the "License");
5+ * you may not use this file except in compliance with the License.
6+ * You may obtain a copy of the License at
7+ *
8+ * http://www.apache.org/licenses/LICENSE-2.0
9+ *
10+ * Unless required by applicable law or agreed to in writing, software
11+ * distributed under the License is distributed on an "AS IS" BASIS,
12+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ * See the License for the specific language governing permissions and
14+ * limitations under the License.
15+ */
16+
117buildscript {
218 repositories {
319 jcenter()
@@ -13,11 +29,7 @@ buildscript {
1329apply plugin : ' org.jetbrains.kotlin.multiplatform'
1430
1531repositories {
16- // mavenLocal()
1732 mavenCentral()
18- maven {
19- url ' https://oss.sonatype.org/content/repositories/snapshots/'
20- }
2133}
2234
2335group = GROUP
@@ -132,30 +144,9 @@ task mergeCppAll(dependsOn:build) {
132144 }
133145}
134146
135- /*
136- * Copyright (C) 2018 Touchlab, Inc.
137- *
138- * Licensed under the Apache License, Version 2.0 (the "License");
139- * you may not use this file except in compliance with the License.
140- * You may obtain a copy of the License at
141- *
142- * http://www.apache.org/licenses/LICENSE-2.0
143- *
144- * Unless required by applicable law or agreed to in writing, software
145- * distributed under the License is distributed on an "AS IS" BASIS,
146- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
147- * See the License for the specific language governing permissions and
148- * limitations under the License.
149- */
150147
151- apply from : " $rootDir /gradle/gradle-mvn-mpp-push.gradle"
152148
153- // publishing {
154- // publications.all {
155- // // Rewrite all artifacts from using the project name to just 'runtime'.
156- // artifactId = artifactId.replace(project.name, 'sqliter')
157- // }
158- // }
149+ apply from : " $rootDir /gradle/gradle-mvn-mpp-push.gradle"
159150
160151tasks. findByName(" publish" ). dependsOn(" mergeCppAll" )
161152tasks. findByName(" publishToMavenLocal" ). dependsOn(" mergeCppAll" )
0 commit comments