summaryrefslogtreecommitdiff
path: root/Java-Kompendium/kap26/build.gradle
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2025-12-07 12:22:07 +0100
committerEugen Wissner <belka@caraus.de>2025-12-07 12:22:07 +0100
commitc95abc31d62e296db4f1b537e3de440dd40defd1 (patch)
tree45417635579e5a611aaee111be631ccceba78fed /Java-Kompendium/kap26/build.gradle
parent5eded28b16a67fb3ef6bd1cce5526d4dc2de39ab (diff)
downloadbook-exercises-c95abc31d62e296db4f1b537e3de440dd40defd1.tar.gz
Finish Java Kompendium book
Diffstat (limited to 'Java-Kompendium/kap26/build.gradle')
-rw-r--r--Java-Kompendium/kap26/build.gradle25
1 files changed, 25 insertions, 0 deletions
diff --git a/Java-Kompendium/kap26/build.gradle b/Java-Kompendium/kap26/build.gradle
new file mode 100644
index 0000000..51c5db2
--- /dev/null
+++ b/Java-Kompendium/kap26/build.gradle
@@ -0,0 +1,25 @@
+plugins {
+ id 'java-library'
+}
+
+repositories {
+ mavenCentral()
+}
+
+dependencies {
+ // Use JUnit Jupiter for testing.
+ testImplementation libs.junit.jupiter
+
+ testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
+
+ // This dependency is exported to consumers, that is to say found on their compile classpath.
+ // api libs.commons.math3
+
+ // This dependency is used internally, and not exposed to consumers on their own compile classpath.
+ // implementation libs.guava
+}
+
+tasks.named('test') {
+ // Use JUnit Platform for unit tests.
+ useJUnitPlatform()
+}