mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-03 00:38:21 +00:00
Use Gradles built-in JUnit 5 support
This commit is contained in:
@@ -2,6 +2,8 @@ apply plugin: 'java-library'
|
||||
apply plugin: 'org.jetbrains.kotlin.jvm'
|
||||
|
||||
dependencies {
|
||||
test.useJUnitPlatform()
|
||||
|
||||
api project(':game')
|
||||
api project(':net')
|
||||
|
||||
|
||||
@@ -1,23 +1,9 @@
|
||||
buildscript {
|
||||
repositories {
|
||||
jcenter()
|
||||
mavenCentral()
|
||||
|
||||
maven { url "https://plugins.gradle.org/m2/" }
|
||||
}
|
||||
|
||||
dependencies {
|
||||
classpath 'org.junit.platform:junit-platform-gradle-plugin:1.1.0'
|
||||
}
|
||||
}
|
||||
|
||||
subprojects { subproj ->
|
||||
if (subproj.buildFile.exists()) {
|
||||
apply plugin: 'apollo-plugin'
|
||||
apply plugin: 'org.junit.platform.gradle.plugin'
|
||||
|
||||
|
||||
dependencies {
|
||||
test.useJUnitPlatform()
|
||||
implementation group: 'com.google.guava', name: 'guava', version: guavaVersion
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user