-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
43 lines (36 loc) · 836 Bytes
/
Copy pathbuild.gradle
File metadata and controls
43 lines (36 loc) · 836 Bytes
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
plugins {
id 'java'
}
group = 'th.in.midnight_network'
version = '2.0.0'
repositories {
mavenCentral()
maven {
name = 'papermc'
url = uri('https://repo.papermc.io/repository/maven-public/')
}
}
dependencies {
compileOnly 'io.papermc.paper:paper-api:26.2.build.+'
}
java {
sourceCompatibility = JavaVersion.VERSION_25
targetCompatibility = JavaVersion.VERSION_25
withSourcesJar()
}
tasks.withType(JavaCompile).configureEach {
options.release = 25
options.encoding = 'UTF-8'
options.compilerArgs += ['-Xlint:all', '-Werror']
}
processResources {
def properties = [version: project.version]
inputs.properties(properties)
filteringCharset = 'UTF-8'
filesMatching('plugin.yml') {
expand(properties)
}
}
jar {
archiveBaseName = 'GreenChunk'
}