Skip to content

Commit

Permalink
refactor library module
Browse files Browse the repository at this point in the history
  • Loading branch information
DatL4g committed Nov 9, 2023
1 parent 82c127f commit 6568f39
Show file tree
Hide file tree
Showing 23 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ object BuildFile {

spec = spec.beginControlFlow("val commonMain by getting")
spec = spec.beginControlFlow("dependencies")
spec = spec.addStatement("api(%S)", "dev.datlag.sekret:library:$version")
spec = spec.addStatement("api(%S)", "dev.datlag.sekret:sekret:$version")
spec = spec.endControlFlow()
spec = spec.endControlFlow()

Expand Down
3 changes: 3 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,16 @@ kotlinpoet = "1.14.2"
publish = "0.25.3"
kase-change = "1.4.1"
osdetector = "1.7.3"
ksp = "1.9.20-1.0.14"

[libraries]
auto-service = { group = "com.google.auto.service", name = "auto-service", version.ref = "auto-service" }
kotlin-gradle-plugin-api = { group = "org.jetbrains.kotlin", name = "kotlin-gradle-plugin-api", version.ref = "kotlin" }
kotlin-compiler-embeddable = { group = "org.jetbrains.kotlin", name = "kotlin-compiler-embeddable", version.ref = "kotlin" }
kotlin-poet = { group = "com.squareup", name = "kotlinpoet", version.ref = "kotlinpoet" }
kotlin-poet-ksp = { group = "com.squareup", name = "kotlinpoet-ksp", version.ref = "kotlinpoet" }
kase-change = { group = "net.pearx.kasechange", name = "kasechange", version.ref = "kase-change" }
ksp-api = { module = "com.google.devtools.ksp:symbol-processing-api", version.ref = "ksp" }

[plugins]
android-library = { id = "com.android.library", version.ref = "android" }
Expand Down
2 changes: 1 addition & 1 deletion library/build.gradle.kts β†’ sekret/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ mavenPublishing {
publishToMavenCentral(host = SonatypeHost.S01, automaticRelease = true)
signAllPublications()

val publishId = "library"
val publishId = "sekret"

coordinates(
groupId = artifact,
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
rootProject.name = "sekret"

include(":gradle-plugin")
include(":library")
include(":sekret")

pluginManagement {
repositories {
Expand Down

0 comments on commit 6568f39

Please sign in to comment.