Skip to content

Commit 588357e

Browse files
committed
Enable publishing to Gradle Plugin Portal
Closes gh-13
1 parent 3a9acd5 commit 588357e

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

core/spring-security-release-tools-core.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ dependencies {
2020
}
2121

2222
shadowJar {
23-
archiveClassifier = ""
2423
configurations = [project.configurations.compileClasspath]
2524
relocate "com.fasterxml", "shaded.com.fasterxml"
2625
}

release-plugin/spring-security-release-plugin.gradle

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
plugins {
22
id "io.spring.convention.spring-gradle-plugin"
3+
id "com.gradle.plugin-publish" version "1.2.1"
4+
id "com.github.johnrengelman.shadow" version "8.1.1"
35
}
46

57
gradlePlugin {
@@ -19,14 +21,10 @@ artifactory {
1921
}
2022
}
2123

22-
configurations.testImplementation {
23-
extendsFrom configurations.compileOnly
24-
}
25-
2624
dependencies {
2725
management platform(project(":dependencies"))
28-
compileOnly project(":github-api")
29-
compileOnly project(":sagan-api")
26+
implementation project(":github-api")
27+
implementation project(":sagan-api")
3028
implementation project(":spring-security-release-tools-core")
3129

3230
testImplementation "org.junit.jupiter:junit-jupiter-api"
@@ -35,3 +33,8 @@ dependencies {
3533
testImplementation "org.assertj:assertj-core"
3634
testImplementation "org.mockito:mockito-core"
3735
}
36+
37+
shadowJar {
38+
archiveClassifier = ""
39+
relocate "com.fasterxml", "shaded.com.fasterxml"
40+
}

0 commit comments

Comments
 (0)