Skip to content

Commit

Permalink
fix gradle plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
makeevrserg committed Dec 7, 2024
1 parent c3847c9 commit 71e3f7e
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 15 deletions.
10 changes: 9 additions & 1 deletion .github/dependabot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ updates:
versions:
dependency-type: production
applies-to: version-updates
update-types:
- major
- minor
- patch
open-pull-requests-limit: 1

- package-ecosystem: "github-actions"
Expand All @@ -25,5 +29,9 @@ updates:
versions:
dependency-type: production
applies-to: version-updates
update-types:
- major
- minor
- patch
rebase-strategy: "disabled"
open-pull-requests-limit: 1
open-pull-requests-limit: 1
8 changes: 1 addition & 7 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,32 +7,26 @@ plugins {
alias(libs.plugins.klibs.gradle.dokka.root) apply false
alias(libs.plugins.klibs.gradle.dokka.module) apply false
alias(libs.plugins.klibs.gradle.java.core) apply false
alias(libs.plugins.klibs.gradle.stub.javadoc) apply false
alias(libs.plugins.klibs.gradle.publication) apply false
alias(libs.plugins.klibs.gradle.rootinfo) apply false
alias(libs.plugins.klibs.gradle.publication.signing) apply false
// klibs - android
alias(libs.plugins.klibs.gradle.android.core) apply false
alias(libs.plugins.klibs.gradle.android.compose) apply false
alias(libs.plugins.klibs.gradle.android.apk.sign) apply false
alias(libs.plugins.klibs.gradle.android.apk.name) apply false
alias(libs.plugins.klibs.gradle.android.publication) apply false
}

apply(plugin = "ru.astrainteractive.gradleplugin.dokka.root")
apply(plugin = "ru.astrainteractive.gradleplugin.detekt")
apply(plugin = "ru.astrainteractive.gradleplugin.root.info")

subprojects.forEach { subProject ->
subProject.apply(plugin = "ru.astrainteractive.gradleplugin.root.info")
subProject.apply(plugin = "ru.astrainteractive.gradleplugin.dokka.module")
subProject.apply(plugin = "ru.astrainteractive.gradleplugin.publication")
subProject.afterEvaluate {
subProject.apply(plugin = "ru.astrainteractive.gradleplugin.publication.kmp-signing")
}
subProject.plugins.withId("org.jetbrains.kotlin.jvm") {
subProject.apply(plugin = "ru.astrainteractive.gradleplugin.java.core")
}
subProject.apply(plugin = "ru.astrainteractive.gradleplugin.stub.javadoc")
subProject.plugins.withId("com.android.library") {
subProject.apply(plugin = "ru.astrainteractive.gradleplugin.android.core")
}
Expand Down
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ makeevrserg.java.ktarget=17
# Project
makeevrserg.project.name=KStorage
makeevrserg.project.group=ru.astrainteractive.klibs
makeevrserg.project.version.string=3.2.0
makeevrserg.project.version.string=3.2.1
makeevrserg.project.description=Kotlin wrapper for key-value storage libraries
makeevrserg.project.developers=makeevrserg|Makeev Roman|[email protected]
makeevrserg.project.url=https://github.com/makeevrserg/klibs.kstorage/
# Publish
makeevrserg.publish.repo.name=klibs.kstorage/
makeevrserg.publish.repo.name=klibs.kstorage
makeevrserg.publish.groupId=ru.astrainteractive.klibs
makeevrserg.publish.description=Kotlin wrapper for key-value storage libraries
makeevrserg.publish.repo.org=makeevrserg
makeevrserg.publish.name=klibs.kstorage/
makeevrserg.publish.name=klibs.kstorage
makeevrserg.publish.license=Apache-2.0
makeevrserg.publish.developers=makeevrserg|Makeev Roman|[email protected]
5 changes: 1 addition & 4 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Kotlin
kotlin-version = "2.1.0" # # https://github.com/JetBrains/kotlin
kotlin-coroutines-core = "1.9.0" # https://github.com/Kotlin/kotlinx.coroutines
klibs-gradleplugin = "1.4.0" # https://github.com/makeevrserg/gradle-plugin
klibs-gradleplugin = "1.5.0-alpha02" # https://github.com/makeevrserg/gradle-plugin
gradle-android = "8.7.2" # https://developer.android.com/build#top-level
androidx-datastore = "1.1.1" # https://developer.android.com/topic/libraries/architecture/datastore
[libraries]
Expand All @@ -20,13 +20,10 @@ klibs-gradle-detekt-compose = { id = "ru.astrainteractive.gradleplugin.detekt.co
klibs-gradle-dokka-root = { id = "ru.astrainteractive.gradleplugin.dokka.root", version.ref = "klibs-gradleplugin" }
klibs-gradle-dokka-module = { id = "ru.astrainteractive.gradleplugin.dokka.module", version.ref = "klibs-gradleplugin" }
klibs-gradle-java-core = { id = "ru.astrainteractive.gradleplugin.java.core", version.ref = "klibs-gradleplugin" }
klibs-gradle-stub-javadoc = { id = "ru.astrainteractive.gradleplugin.stub.javadoc", version.ref = "klibs-gradleplugin" }
klibs-gradle-publication = { id = "ru.astrainteractive.gradleplugin.publication", version.ref = "klibs-gradleplugin" }
klibs-gradle-publication-signing = { id = "ru.astrainteractive.gradleplugin.publication.kmp-signing", version.ref = "klibs-gradleplugin" }
klibs-gradle-rootinfo = { id = "ru.astrainteractive.gradleplugin.root.info", version.ref = "klibs-gradleplugin" }
# klibs - android
klibs-gradle-android-core = { id = "ru.astrainteractive.gradleplugin.android.core", version.ref = "klibs-gradleplugin" }
klibs-gradle-android-compose = { id = "ru.astrainteractive.gradleplugin.android.compose", version.ref = "klibs-gradleplugin" }
klibs-gradle-android-apk-sign = { id = "ru.astrainteractive.gradleplugin.android.apk.sign", version.ref = "klibs-gradleplugin" }
klibs-gradle-android-apk-name = { id = "ru.astrainteractive.gradleplugin.android.apk.name", version.ref = "klibs-gradleplugin" }
klibs-gradle-android-publication = { id = "ru.astrainteractive.gradleplugin.android.publication", version.ref = "klibs-gradleplugin" }

0 comments on commit 71e3f7e

Please sign in to comment.