-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
32 lines (27 loc) · 862 Bytes
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
plugins {
id 'java'
id 'com.github.johnrengelman.shadow' version '7.1.2'
id 'com.palantir.git-version' version '3.1.0'
}
group 'eu.kaesebrot.dev'
version = gitVersion()
repositories {
mavenCentral()
maven { url 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/' }
}
dependencies {
compileOnly 'org.spigotmc:spigot-api:1.20.1-R0.1-SNAPSHOT'
implementation 'com.cronutils:cron-utils:9.2.1'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.11.4'
testImplementation 'org.mockito:mockito-core:5.15.2'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.11.4'
}
test {
useJUnitPlatform()
}
// Relocating a Package
shadowJar {
relocate 'com.cronutils', 'eu.kaesebrot.dev.dependencies.cronutils'
}
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17