Add Pagination project

Signed-off-by: Quentin Legot <legotquentin@gmail.com>
This commit is contained in:
Quentin Legot 2023-02-27 00:13:09 +01:00
parent 1a4e3481d5
commit 0228787568
6 changed files with 16 additions and 16 deletions

View File

@ -1,11 +1,4 @@
dependencies { dependencies {
implementation 'org.postgresql:postgresql:42.5.0' implementation 'org.postgresql:postgresql:42.5.0'
testImplementation 'com.google.code.gson:gson:2.10' 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()
}

0
Pagination/build.gradle Normal file
View File

View File

@ -0,0 +1,7 @@
package fr.altarik.toolbox;
public class Main {
public static void main(String[] args) {
System.out.println("Hello world!");
}
}

View File

@ -9,9 +9,6 @@ dependencies {
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}" modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_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 { processResources {
@ -37,8 +34,3 @@ tasks.withType(JavaCompile).configureEach {
it.options.release = targetVersion it.options.release = targetVersion
} }
} }
test {
useJUnitPlatform()
}

View File

@ -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 { java {
withSourcesJar() withSourcesJar()
withJavadocJar() withJavadocJar()
} }
test {
useJUnitPlatform()
}
repositories { repositories {
maven { maven {

View File

@ -10,4 +10,5 @@ pluginManagement {
} }
rootProject.name = 'Toolbox' rootProject.name = 'Toolbox'
include(':Tasks', ':Database') include(':Tasks', ':Database', ':Pagination')