-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #97 from qiaoyuang/main
Update the dependencies management
- Loading branch information
Showing
10 changed files
with
94 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,7 @@ | ||
buildscript { | ||
repositories { | ||
gradlePluginPortal() | ||
google() | ||
mavenCentral() | ||
} | ||
dependencies { | ||
val kotlinVersion: String by project | ||
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion") | ||
classpath("com.android.tools.build:gradle:8.2.2") | ||
} | ||
} | ||
|
||
allprojects { | ||
repositories { | ||
google() | ||
mavenCentral() | ||
} | ||
plugins { | ||
alias(libs.plugins.kotlin.multiplatform) apply false | ||
alias(libs.plugins.kotlin.jvm) apply false | ||
alias(libs.plugins.kotlinx.serialization) apply false | ||
alias(libs.plugins.android.library) apply false | ||
alias(libs.plugins.ksp) apply false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
[versions] | ||
|
||
kotlin = "1.9.24" | ||
agp = "8.2.2" | ||
ksp = "1.9.24-1.0.20" | ||
serialization = "1.6.3" | ||
coroutines = "1.8.1" | ||
androidx-annotation = "1.8.0" | ||
androidx-test = "1.6.1" | ||
sqlite-jdbc = "3.46.0.0" | ||
|
||
[libraries] | ||
|
||
ksp = { group = "com.google.devtools.ksp", name= "symbol-processing-api", version.ref = "ksp" } | ||
|
||
kotlinx-serialization = { group = "org.jetbrains.kotlinx", name = "kotlinx-serialization-core", version.ref = "serialization" } | ||
kotlinx-coroutines = { group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-core", version.ref = "coroutines" } | ||
|
||
androidx-annotation = { group = "androidx.annotation", name = "annotation", version.ref = "androidx-annotation" } | ||
androidx-test-core = { group = "androidx.test", name = "core", version.ref = "androidx-test" } | ||
androidx-test-runner = { group = "androidx.test", name = "runner", version.ref = "androidx-test" } | ||
androidx-test-rules = { group = "androidx.test", name = "rules", version.ref = "androidx-test" } | ||
|
||
sqlite-jdbc = { group = "org.xerial", name = "sqlite-jdbc", version.ref = "sqlite-jdbc" } | ||
|
||
|
||
|
||
[plugins] | ||
|
||
kotlin-multiplatform = { id = "org.jetbrains.kotlin.multiplatform", version.ref = "kotlin" } | ||
kotlin-jvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" } | ||
kotlinx-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" } | ||
ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" } | ||
android-library = { id = "com.android.library", version.ref = "agp" } | ||
maven-publish = { id = "maven-publish" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#Tue Mar 08 15:11:46 CST 2022 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip | ||
distributionPath=wrapper/dists | ||
zipStorePath=wrapper/dists | ||
zipStoreBase=GRADLE_USER_HOME |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,21 @@ | ||
rootProject.name = "SQLlin" | ||
include(":sqllin-driver") | ||
include(":sqllin-dsl") | ||
include(":sqllin-processor") | ||
include(":sample") | ||
|
||
pluginManagement { | ||
val kspVersion: String by settings | ||
val kotlinVersion: String by settings | ||
plugins { | ||
id("com.google.devtools.ksp") version kspVersion apply false | ||
kotlin("plugin.serialization") version kotlinVersion | ||
} | ||
repositories { | ||
google() | ||
gradlePluginPortal() | ||
mavenCentral() | ||
} | ||
} | ||
|
||
rootProject.name = "SQLlin" | ||
include(":sqllin-driver") | ||
include(":sqllin-dsl") | ||
include(":sqllin-processor") | ||
include(":sample") | ||
dependencyResolutionManagement { | ||
@Suppress("UnstableApiUsage") | ||
repositories { | ||
google() | ||
mavenCentral() | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters