-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
57 lines (45 loc) · 1.27 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
/*
* 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/")
}
dependencies {
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 }
}
}
}