-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathbuild.gradle
More file actions
45 lines (36 loc) · 868 Bytes
/
build.gradle
File metadata and controls
45 lines (36 loc) · 868 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
44
45
plugins {
id 'java'
}
allprojects {
apply plugin: 'java'
group = 'me.xpyex.plugin.flywithfood'
version = '2.0.7'
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
dependencies {
compileOnly 'org.jetbrains:annotations:23.0.0'
compileOnly 'com.google.code.gson:gson:2.9.1'
}
processResources {
def props = [version: version]
inputs.properties props
filteringCharset 'UTF-8'
filesMatching('plugin.yml') {
expand props
}
}
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}
tasks.withType(Javadoc) {
options.encoding = "UTF-8"
}
tasks.withType(Copy) {
duplicatesStrategy 'exclude'
}
java {
toolchain.languageVersion.set(JavaLanguageVersion.of(8))
}
}