diff --git a/Database/build.gradle b/Database/build.gradle index 27285c6..87ae4db 100644 --- a/Database/build.gradle +++ b/Database/build.gradle @@ -1,11 +1,4 @@ dependencies { implementation 'org.postgresql:postgresql:42.5.0' testImplementation 'com.google.code.gson:gson:2.10' - testImplementation "org.junit.jupiter:junit-jupiter-api:${project.junit_version}" - testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:${project.junit_version}" } - -test { - useJUnitPlatform() -} - diff --git a/Pagination/build.gradle b/Pagination/build.gradle new file mode 100644 index 0000000..e69de29 diff --git a/Pagination/src/main/java/fr/altarik/toolbox/Main.java b/Pagination/src/main/java/fr/altarik/toolbox/Main.java new file mode 100644 index 0000000..88dbeed --- /dev/null +++ b/Pagination/src/main/java/fr/altarik/toolbox/Main.java @@ -0,0 +1,7 @@ +package fr.altarik.toolbox; + +public class Main { + public static void main(String[] args) { + System.out.println("Hello world!"); + } +} \ No newline at end of file diff --git a/Tasks/build.gradle b/Tasks/build.gradle index 590944e..1bb2636 100644 --- a/Tasks/build.gradle +++ b/Tasks/build.gradle @@ -9,9 +9,6 @@ dependencies { modImplementation "net.fabricmc:fabric-loader:${project.loader_version}" modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}" - - testImplementation "org.junit.jupiter:junit-jupiter-api:${project.junit_version}" - testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:${project.junit_version}" } processResources { @@ -37,8 +34,3 @@ tasks.withType(JavaCompile).configureEach { it.options.release = targetVersion } } - - -test { - useJUnitPlatform() -} diff --git a/build.gradle b/build.gradle index f860cd0..873f6f6 100644 --- a/build.gradle +++ b/build.gradle @@ -27,12 +27,19 @@ subprojects { } } + dependencies { + testImplementation "org.junit.jupiter:junit-jupiter-api:${project.junit_version}" + testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:${project.junit_version}" + } java { withSourcesJar() withJavadocJar() } + test { + useJUnitPlatform() + } repositories { maven { diff --git a/settings.gradle b/settings.gradle index ea6151c..14dcabe 100644 --- a/settings.gradle +++ b/settings.gradle @@ -10,4 +10,5 @@ pluginManagement { } rootProject.name = 'Toolbox' -include(':Tasks', ':Database') +include(':Tasks', ':Database', ':Pagination') +