-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathbuild.gradle
77 lines (64 loc) · 2.63 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
plugins {
id 'java'
id "com.github.johnrengelman.shadow" version "7.1.2"
id 'maven-publish'
id 'eclipse'
id "org.jetbrains.gradle.plugin.idea-ext" version "1.0.1"
}
allprojects {
group = 'com.xinecraft'
description = 'Minetrax'
version = '7.0.0'
repositories {
mavenLocal()
mavenCentral()
maven { url 'https://jitpack.io' }
maven { url 'https://repo.enonic.com/public/' }
maven { url "https://oss.sonatype.org/content/groups/public/" }
maven { url "https://repo.aikar.co/content/groups/aikar/" }
maven { url 'https://repo.papermc.io/repository/maven-public/' }
maven { url 'https://hub.spigotmc.org/nexus/content/groups/public/' }
maven { url 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/' }
maven { url 'https://repo.extendedclip.com/content/repositories/placeholderapi/' }
maven { url 'https://repo.viaversion.com' }
maven { url 'https://repo.codemc.org/repository/maven-public/' }
maven { url 'https://repo.maven.apache.org/maven2/' }
maven { url 'https://repo.minebench.de' }
// LibertyBans
maven { url 'https://mvn-repo.arim.space/lesser-gpl3/' }
maven { url 'https://mvn-repo.arim.space/gpl3/' }
maven { url 'https://mvn-repo.arim.space/affero-gpl3/' }
// LiteBans - jitpack
// AdvancedBan - jitpack
// BanManager
}
}
subprojects {
ext {
targetJavaVersion = 17
}
apply plugin: "java"
apply plugin: "com.github.johnrengelman.shadow"
apply plugin: "maven-publish"
dependencies {
compileOnly 'org.projectlombok:lombok:1.18.32'
annotationProcessor 'org.projectlombok:lombok:1.18.32'
testCompileOnly 'org.projectlombok:lombok:1.18.32'
testAnnotationProcessor 'org.projectlombok:lombok:1.18.32'
compileOnly 'org.jetbrains:annotations:22.0.0'
implementation 'commons-codec:commons-codec:1.15'
implementation 'org.apache.commons:commons-lang3:3.14.0'
compileOnly 'io.netty:netty-all:4.1.86.Final'
implementation 'com.google.code.gson:gson:2.10.1'
compileOnly 'net.skinsrestorer:skinsrestorer-api:15.0.13'
implementation 'com.squareup.okhttp3:okhttp:4.12.0'
// BanWarden
compileOnly "space.arim.libertybans:bans-api:1.0.4"
compileOnly "com.gitlab.ruany:LiteBansAPI:0.5.0"
compileOnly "com.github.DevLeoko.AdvancedBan:AdvancedBan:v2.3.0"
}
def targetJavaVersion = project.ext.targetJavaVersion as int
java {
toolchain.languageVersion.set(JavaLanguageVersion.of(targetJavaVersion))
}
}