-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
46 lines (37 loc) · 1.06 KB
/
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
plugins {
id 'java'
id 'eclipse'
id 'idea'
id 'com.github.johnrengelman.shadow' version '7.1.1'
id 'org.cadixdev.licenser' version '0.6.1'
}
group 'com.clubobsidian'
version '1.0.0'
subprojects {
apply plugin: 'java-library'
apply plugin: 'com.github.johnrengelman.shadow'
apply plugin: 'org.cadixdev.licenser'
group 'com.clubobsidian'
version '1.0.0'
shadowJar {
archiveBaseName.set('DynamicReplacer')
}
license {
header = project.rootProject.file('HEADER.txt')
include '**/*.java'
}
test {
useJUnitPlatform()
}
repositories {
flatDir { dirs 'libs' }
mavenCentral()
maven { url "https://hub.spigotmc.org/nexus/content/repositories/snapshots" }
maven { url = "https://oss.sonatype.org/content/repositories/snapshots" }
}
def junitVersion = "5.7.0"
dependencies {
testImplementation "org.junit.jupiter:junit-jupiter-api:$junitVersion"
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:$junitVersion"
}
}