Skip to content

Commit

Permalink
Release v0.0.8: remove classifier from jar build
Browse files Browse the repository at this point in the history
Signed-off-by: Stephan Renatus <[email protected]>
  • Loading branch information
srenatus committed Nov 18, 2024
1 parent 8106d86 commit 0f3ee8b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# OPA Spring Boot SDK Changelog

## v0.0.8 (unreleased)
## v0.0.8

* Change `build.gradle` to omit the `plain` classifier from the jar file it builds. This should make the default
snippet show on https://central.sonatype.com/artifact/com.styra.opa/springboot _work as is_. Before, you would
have to add `<classifier>plain</classifier>`.

## v0.0.7

Expand Down
11 changes: 9 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ plugins {
id 'java-library'
id 'maven-publish'
id 'signing'
id 'org.springframework.boot' version '3.3.2'
id 'org.springframework.boot' version '3.3.5'
id 'io.spring.dependency-management' version '1.1.6'
id("checkstyle")
}
Expand All @@ -14,7 +14,6 @@ version = '0.0.8'
java {
sourceCompatibility = '17'
targetCompatibility = '17'

}

configurations {
Expand All @@ -23,6 +22,14 @@ configurations {
}
}

tasks.named("bootJar") {
archiveClassifier = 'boot'
}

tasks.named("jar") {
archiveClassifier = ''
}

repositories {
mavenCentral()
}
Expand Down

0 comments on commit 0f3ee8b

Please sign in to comment.