Skip to content

Commit ea8fd88

Browse files
committed
Add Nexus Plugin
1 parent 2780eea commit ea8fd88

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

build.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import java.io.FileNotFoundException
22
import java.util.Calendar
33

4+
apply(plugin = "io.github.gradle-nexus.publish-plugin")
45
apply(plugin = "org.jetbrains.dokka")
56

67
// Top-level build file where you can add configuration options common to all sub-projects/modules.
@@ -12,6 +13,7 @@ plugins {
1213
alias(libs.plugins.kotlin.compose) apply false
1314
alias(libs.plugins.ksp) apply false
1415
alias(libs.plugins.dokka) apply false
16+
alias(libs.plugins.nexus) apply false
1517
alias(libs.plugins.arturbosch.detekt) apply true
1618
alias(libs.plugins.spotless) apply true
1719
}

gradle/libs.versions.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ detekt = "1.23.8"
2525
spotless = "7.2.1"
2626
klint = "13.0.0"
2727
kotlinDokka = "1.9.20"
28+
nexusPlugin = "1.3.0"
2829

2930
[libraries]
3031
androidx-core = { module = "androidx.test:core", version.ref = "core" }
@@ -73,3 +74,4 @@ ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" }
7374
arturbosch-detekt = { id = "io.gitlab.arturbosch.detekt", version.ref = "detekt" }
7475
spotless = { id = "com.diffplug.spotless", version.ref = "spotless" }
7576
dokka = { id = "org.jetbrains.dokka", version.ref = "kotlinDokka" }
77+
nexus = { id = "io.github.gradle-nexus.publish-plugin", version.ref = "nexusPlugin" }

0 commit comments

Comments
 (0)