-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
61 lines (49 loc) · 1.53 KB
/
build.gradle.kts
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
/*
* This file was generated by the Gradle 'init' task.
*/
plugins {
id("java-library")
id("java")
id("maven-publish")
id("com.github.johnrengelman.shadow") version "8.1.1"
}
subprojects {
apply(plugin = "java-library")
apply(plugin = "java")
apply(plugin = "com.github.johnrengelman.shadow")
apply(plugin = "maven-publish")
version = property("tne_version")!!
repositories {
mavenCentral()
maven("https://s01.oss.sonatype.org/content/repositories/snapshots/")
maven("https://oss.sonatype.org/content/repositories/snapshots/")
maven("https://jitpack.io")
maven("https://plugins.gradle.org/m2/")
maven("https://repo.codemc.io/repository/maven-public/")
maven("https://hub.spigotmc.org/nexus/content/repositories/snapshots/")
maven("https://repo.spongepowered.org/maven/")
}
dependencies {
compileOnly("org.spigotmc:spigot-api:1.18.2-R0.1-SNAPSHOT")
compileOnly("org.spongepowered:spongeapi:8.2.0-SNAPSHOT")
compileOnly("net.tnemc:EconomyCore:${project.version}")
}
tasks {
compileJava {
options.encoding = "UTF-8"
sourceCompatibility = "17"
targetCompatibility = "17"
}
jar {
from("../license.md")
}
shadowJar {
}
processResources {
filesMatching("**/resources/*") {
expand(rootProject.project.properties)
}
outputs.upToDateWhen { false }
}
}
}