54 lines
1.5 KiB
Plaintext
54 lines
1.5 KiB
Plaintext
plugins {
|
|
application
|
|
id("com.iqser.red.service.java-conventions")
|
|
id("io.freefair.lombok") version "8.4"
|
|
}
|
|
|
|
group = "com.knecon.fforesight.utility"
|
|
version = "1.0-SNAPSHOT"
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
maven {
|
|
url = uri("https://nexus.knecon.com/repository/red-platform-releases/")
|
|
credentials {
|
|
username = providers.gradleProperty("mavenUser").getOrNull();
|
|
password = providers.gradleProperty("mavenPassword").getOrNull();
|
|
}
|
|
}
|
|
}
|
|
|
|
sourceSets {
|
|
test {
|
|
resources {
|
|
srcDirs("src/main/resources", "src/test/ressources") // add both so test can access the all_rules_file
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation(project(":redaction-service-server-v1"))
|
|
testImplementation(platform("org.junit:junit-bom:5.10.0"))
|
|
testImplementation("org.junit.jupiter:junit-jupiter")
|
|
|
|
implementation("com.github.javaparser:javaparser-core:3.25.3")
|
|
implementation("org.drools:drools-drl-parser:8.41.0.Final")
|
|
implementation("org.apache.commons:commons-csv:1.10.0")
|
|
implementation("commons-cli:commons-cli:1.5.0")
|
|
|
|
|
|
compileOnly("org.projectlombok:lombok:1.18.28")
|
|
annotationProcessor("org.projectlombok:lombok:1.18.28")
|
|
|
|
testCompileOnly("org.projectlombok:lombok:1.18.28")
|
|
testAnnotationProcessor("org.projectlombok:lombok:1.18.28")
|
|
|
|
implementation("org.kie:kie-api:9.44.0.Final")
|
|
implementation("org.drools:drools-compiler:9.44.0.Final")
|
|
testImplementation("org.kie:kie-ci:9.44.0.Final")
|
|
}
|
|
|
|
tasks.test {
|
|
useJUnitPlatform()
|
|
}
|