Skip to content

Commit

Permalink
Enable publishing to Gradle Plugin Portal
Browse files Browse the repository at this point in the history
Closes gh-13
  • Loading branch information
sjohnr committed Jan 25, 2024
1 parent 3a9acd5 commit 588357e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
1 change: 0 additions & 1 deletion core/spring-security-release-tools-core.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ dependencies {
}

shadowJar {
archiveClassifier = ""
configurations = [project.configurations.compileClasspath]
relocate "com.fasterxml", "shaded.com.fasterxml"
}
15 changes: 9 additions & 6 deletions release-plugin/spring-security-release-plugin.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
plugins {
id "io.spring.convention.spring-gradle-plugin"
id "com.gradle.plugin-publish" version "1.2.1"
id "com.github.johnrengelman.shadow" version "8.1.1"
}

gradlePlugin {
Expand All @@ -19,14 +21,10 @@ artifactory {
}
}

configurations.testImplementation {
extendsFrom configurations.compileOnly
}

dependencies {
management platform(project(":dependencies"))
compileOnly project(":github-api")
compileOnly project(":sagan-api")
implementation project(":github-api")
implementation project(":sagan-api")
implementation project(":spring-security-release-tools-core")

testImplementation "org.junit.jupiter:junit-jupiter-api"
Expand All @@ -35,3 +33,8 @@ dependencies {
testImplementation "org.assertj:assertj-core"
testImplementation "org.mockito:mockito-core"
}

shadowJar {
archiveClassifier = ""
relocate "com.fasterxml", "shaded.com.fasterxml"
}

0 comments on commit 588357e

Please sign in to comment.