-
Notifications
You must be signed in to change notification settings - Fork 51
Expand file tree
/
Copy pathbuild.gradle
More file actions
55 lines (47 loc) · 1.59 KB
/
build.gradle
File metadata and controls
55 lines (47 loc) · 1.59 KB
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
47
48
49
50
51
52
53
54
55
plugins {
id 'java'
id 'maven-publish'
}
group = 'me.chancesd.pvpmanager'
java {
toolchain.languageVersion.set(JavaLanguageVersion.of(21))
}
subprojects {
apply plugin: 'java'
java {
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21
}
repositories {
mavenCentral()
mavenLocal()
maven { url = 'https://hub.spigotmc.org/nexus/content/groups/public/' }
maven { url = 'https://jitpack.io' }
maven { url = 'https://repo.extendedclip.com/content/repositories/placeholderapi/' }
maven { url = 'https://maven.enginehub.org/repo/' }
maven { url = 'https://repo.roinujnosde.me/releases/' }
maven { url = 'https://repo.codemc.org/repository/maven-public' }
maven { url = 'https://repo.glaremasters.me/repository/towny/' }
maven { url = 'https://repo.papermc.io/repository/maven-public/' }
maven { url = 'https://repo.william278.net/releases' }
maven { url = 'https://mvn.lib.co.nz/public/' }
}
dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter:5.13.0'
testImplementation 'org.junit.platform:junit-platform-suite:1.13.0'
testImplementation 'org.mockito:mockito-core:5.18.0'
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
}
publishing {
repositories {
maven {
url = uri('https://repo.codemc.io/repository/maven-releases/')
}
maven {
url = uri('https://repo.codemc.io/repository/maven-snapshots/')
}
}
}