Skip to content

Commit

Permalink
dust off
Browse files Browse the repository at this point in the history
  • Loading branch information
krizzu committed Oct 29, 2024
1 parent c17537c commit 598908c
Show file tree
Hide file tree
Showing 12 changed files with 312 additions and 149 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ project.xcworkspace
.settings
local.properties
android.iml
.kotlin

# Cocoapods
#
Expand Down
4 changes: 2 additions & 2 deletions AsyncStorageSQLite.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ Pod::Spec.new do |spec|
spec.author = info["author"]
spec.source = { :git => info["repository"], :tag => "#{spec.version}" }
spec.swift_version = "5.8"
spec.platforms = { :ios => "13.0" }
spec.platforms = { :ios => "16.0" }

spec.vendored_frameworks = "#{podspecName}/#{frameworkName}.xcframework"
spec.source_files = "#{podspecName}/src/**/*.{swift}"

spec.dependency "KMPNativeCoroutinesAsync", "1.0.0-ALPHA-24"
spec.dependency "KMPNativeCoroutinesAsync", "1.0.0-ALPHA-37"

end
3 changes: 1 addition & 2 deletions RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

### Versioning

1. Update version in [package_info.json](package_info.json) AND [README.md](README.md)
1. Update version in [package_info.json](package_info.json)
2. Build binaries via `bundleSQLiteStorage` gradle task
3. Commit changes (name it `release: MAJOR.MINOR.PATCH`)
4. Create tag (name it `MAJOR.MINOR.PATCH`)
Expand All @@ -19,7 +19,6 @@

https://vanniktech.github.io/gradle-maven-publish-plugin/central/#publishing-releases


### iOS

https://guides.cocoapods.org/making/making-a-cocoapod.html#submitting-open-source-code
17 changes: 8 additions & 9 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
plugins {
id("com.android.application").version(libs.versions.agp.get()).apply(false)
id("com.android.library").version(libs.versions.agp.get()).apply(false)
kotlin("android").version(libs.versions.kotlin.get()).apply(false)
kotlin("multiplatform").version(libs.versions.kotlin.get()).apply(false)
kotlin("plugin.serialization").version(libs.versions.kotlin.get()).apply(false)
id("app.cash.sqldelight").version(libs.versions.sqldelight.get()).apply(false)
id("com.google.devtools.ksp").version(libs.versions.ksp.get()).apply(false)
id("com.rickclephas.kmp.nativecoroutines").version(libs.versions.nativeCoroutines.get())
.apply(false)
alias(libs.plugins.android.application).apply(false)
alias(libs.plugins.android.library).apply(false)
alias(libs.plugins.kotlin.android).apply(false)
alias(libs.plugins.kotlin.multiplatform).apply(false)
alias(libs.plugins.kotlin.plugin.serialization).apply(false)
alias(libs.plugins.sqldelight).apply(false)
alias(libs.plugins.ksp).apply(false)
alias(libs.plugins.nativecoroutines).apply(false)
}
23 changes: 17 additions & 6 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,24 @@
[versions]
kotlin = "1.9.22"
agp = "8.1.1"
ksp = "1.9.22-1.0.16"
nativeCoroutines = "1.0.0-ALPHA-24"
sqldelight = "2.0.1"
coroutines = "1.7.3"
kotlin = "2.0.21"
agp = "8.5.0"
ksp = "2.0.21-1.0.25"
nativeCoroutines = "1.0.0-ALPHA-37"
sqldelight = "2.0.2"
coroutines = "1.9.0"
ktx-serialization = "1.6.0"
spotless = "6.23.3"


[plugins]
android-application = { id = "com.android.application", version.ref = "agp" }
android-library = { id = "com.android.library", version.ref = "agp" }
kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
kotlin-multiplatform = { id = "org.jetbrains.kotlin.multiplatform", version.ref = "kotlin" }
kotlin-plugin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" }
sqldelight = { id = "app.cash.sqldelight", version.ref = "sqldelight" }
ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" }
nativecoroutines = { id = "com.rickclephas.kmp.nativecoroutines", version.ref = "nativeCoroutines" }

[libraries]
serialization = { module = "org.jetbrains.kotlinx:kotlinx-serialization-json", version.ref = "ktx-serialization" }
gson = { module = "com.google.code.gson:gson", version = "2.9.0" }
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
7 changes: 5 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#Tue Oct 29 23:18:48 CET 2024
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
zipStorePath=wrapper/dists
Loading

0 comments on commit 598908c

Please sign in to comment.