30 lines
643 B
Plaintext
30 lines
643 B
Plaintext
plugins {
|
|
id("common-java");
|
|
}
|
|
|
|
description = "A collection of utils and structures for the rest of the project";
|
|
|
|
repositories {
|
|
mavenCentral();
|
|
}
|
|
|
|
dependencies {
|
|
annotationProcessor("com.github.bsideup.jabel:jabel-javac-plugin:0.4.2");
|
|
compileOnly("com.github.bsideup.jabel:jabel-javac-plugin:0.4.2");
|
|
testImplementation("org.junit.jupiter:junit-jupiter:5.9.2");
|
|
testRuntimeOnly("org.junit.platform:junit-platform-launcher");
|
|
}
|
|
|
|
tasks.processResources {
|
|
filesMatching("metadata.json", {
|
|
expand(
|
|
"version" to properties["project_version"],
|
|
"name" to properties["project_name"],
|
|
);
|
|
});
|
|
}
|
|
|
|
tasks.test {
|
|
useJUnitPlatform();
|
|
}
|