74 lines
1.4 KiB
Kotlin
74 lines
1.4 KiB
Kotlin
plugins {
|
|
id("java")
|
|
}
|
|
|
|
tasks.register<Jar>("jarAcq") {
|
|
manifest {
|
|
attributes["Main-Class"] = "acs.Main"
|
|
}
|
|
archiveBaseName.set("acq")
|
|
|
|
from(sourceSets.main.get().output)
|
|
|
|
dependsOn("classes")
|
|
}
|
|
|
|
tasks.register<Jar>("jarAcs") {
|
|
manifest {
|
|
attributes["Main-Class"] = "acs.Main"
|
|
}
|
|
archiveBaseName.set("acs")
|
|
|
|
from(sourceSets.main.get().output)
|
|
|
|
dependsOn("classes")
|
|
}
|
|
|
|
tasks.register<Jar>("jarExternalApp") {
|
|
manifest {
|
|
attributes["Main-Class"] = "externalApp.Main"
|
|
}
|
|
archiveBaseName.set("externalApp")
|
|
|
|
from(sourceSets.main.get().output)
|
|
|
|
dependsOn("classes")
|
|
}
|
|
|
|
tasks.register<Jar>("jarHttpServer") {
|
|
manifest {
|
|
attributes["Main-Class"] = "httpServer.Main"
|
|
}
|
|
archiveBaseName.set("httpServer")
|
|
|
|
from(sourceSets.main.get().output)
|
|
|
|
dependsOn("classes")
|
|
}
|
|
|
|
tasks.named("build") {
|
|
dependsOn("jarAcq")
|
|
dependsOn("jarAcs")
|
|
dependsOn("jarExternalApp")
|
|
dependsOn("jarHttpServer")
|
|
}
|
|
|
|
group = "be.naaturel"
|
|
version = "1.0"
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
testImplementation(platform("org.junit:junit-bom:5.10.0"))
|
|
testImplementation("org.junit.jupiter:junit-jupiter")
|
|
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
|
|
|
|
implementation("org.springframework.security:spring-security-crypto:6.4.5")
|
|
implementation("com.fasterxml.jackson.core:jackson-databind:2.17.1")
|
|
}
|
|
|
|
tasks.test {
|
|
useJUnitPlatform()
|
|
} |