Skip to content

Commit a7a7ca7

Browse files
committed
release: 0.0.1
1 parent 5ad047a commit a7a7ca7

File tree

8 files changed

+803
-795
lines changed

8 files changed

+803
-795
lines changed

AsyncStorageSQLite/SQLiteStorageKMP.xcframework/ios-arm64/dSYMs/SQLiteStorageKMP.framework.dSYM/Contents/Resources/Relocations/aarch64/SQLiteStorageKMP.yml

+792-792
Large diffs are not rendered by default.

RELEASING.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010

1111
1. Update version in [package_info.json](package_info.json) AND [README.md](README.md)
1212
2. Build binaries via `bundleSQLiteStorage` gradle task
13-
3. Commit changes (name it `release: vMAJOR.MINOR.PATCH`)
14-
4. Create tag (name it `vMAJOR.MINOR.PATCH`)
13+
3. Commit changes (name it `release: MAJOR.MINOR.PATCH`)
14+
4. Create tag (name it `MAJOR.MINOR.PATCH`)
1515
5. Push commit and tag to `main`
1616
6. Create Github release
1717

sqlite-storage-plugin/src/main/kotlin/ConfigurePublish.kt

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11
package org.asyncstorage.sqlite.plugin
22

33
import com.vanniktech.maven.publish.MavenPublishBaseExtension
4+
import com.vanniktech.maven.publish.MavenPublishPlugin
45
import com.vanniktech.maven.publish.SonatypeHost
56
import org.asyncstorage.sqlite.plugin.extensions.PackageInfoExtension
67
import org.gradle.api.Project
78
import org.gradle.api.plugins.ExtensionAware
89
import org.gradle.kotlin.dsl.configure
910

10-
1111
internal fun Project.configurePublish(info: PackageInfoExtension) {
12+
project.apply {
13+
plugin(MavenPublishPlugin::class.java)
14+
}
15+
1216
(project as ExtensionAware).extensions.configure<MavenPublishBaseExtension> {
1317
publishToMavenCentral(SonatypeHost.S01, automaticRelease = true)
1418
signAllPublications()
@@ -34,6 +38,9 @@ internal fun Project.configurePublish(info: PackageInfoExtension) {
3438
name.set(info.author)
3539
}
3640
}
41+
scm {
42+
url.set(info.homepage)
43+
}
3744
}
3845
}
3946
}

sqlite-storage-plugin/src/main/kotlin/StoragePlugin.kt

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ class StoragePlugin : Plugin<Project> {
1818
project.configureTesting()
1919
project.configureLint()
2020
project.configureBundle(bundleExt, infoExt)
21+
project.configurePublish(infoExt)
2122
}
2223
}
2324

0 commit comments

Comments
 (0)