This commit is contained in:
Anthony Stirling 2025-06-09 23:29:12 +01:00
parent d02e0486e0
commit 52b20dd9da
3 changed files with 15 additions and 1 deletions

View File

@ -1,3 +1,8 @@
// Configure bootRun to disable it or point to a main class
bootRun {
enabled = false
}
dependencies { dependencies {
api 'org.springframework.boot:spring-boot-starter-web' api 'org.springframework.boot:spring-boot-starter-web'
api 'org.springframework.boot:spring-boot-starter-thymeleaf' api 'org.springframework.boot:spring-boot-starter-thymeleaf'

View File

@ -1,7 +1,9 @@
repositories { repositories {
maven { url = "https://build.shibboleth.net/maven/releases" } maven { url = "https://build.shibboleth.net/maven/releases" }
} }
bootRun {
enabled = false
}
dependencies { dependencies {
implementation project(':common') implementation project(':common')

View File

@ -103,7 +103,9 @@ sourceSets {
} }
// Configure regular jar (remove -plain classifier)
jar { jar {
archiveClassifier.set("") // Remove the -plain classifier
duplicatesStrategy = DuplicatesStrategy.EXCLUDE duplicatesStrategy = DuplicatesStrategy.EXCLUDE
zip64 = true zip64 = true
@ -126,5 +128,10 @@ jar {
} }
} }
// Enable bootJar for this project
bootJar {
enabled = true
}
jar.dependsOn ':common:jar' jar.dependsOn ':common:jar'
jar.dependsOn ':proprietary:jar' jar.dependsOn ':proprietary:jar'