summaryrefslogtreecommitdiff
path: root/Java-Kompendium/kap26/build.gradle
diff options
context:
space:
mode:
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()
+}