-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
72 lines (64 loc) · 2.09 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
plugins {
id 'com.gradleup.shadow' version '8.3.0' apply false
}
defaultTasks 'build'
subprojects {
apply plugin: 'java'
apply plugin: 'checkstyle'
repositories {
mavenCentral()
maven {
name = 'sonatype-oss-snapshots1'
url = 'https://s01.oss.sonatype.org/content/repositories/snapshots/'
}
maven {
name = 'sonatype-oss'
url = 'https://oss.sonatype.org/content/repositories/snapshots/'
}
maven {
url 'https://libraries.minecraft.net'
content {
includeGroup 'com.mojang'
}
}
maven {
url 'https://repo.papermc.io/repository/maven-public/'
content {
includeGroup 'com.destroystokyo.paper'
includeGroup 'io.papermc.paper'
includeGroup 'net.md-5'
}
}
maven {
url 'https://repo.spongepowered.org/repository/maven-public/'
content {
includeGroup 'org.spongepowered'
}
}
}
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
compileTestJava {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
project.description = 'Plugin for the thimble mini game (dé à coudre)'
project.ext.fullVersion = '1.5.4-SNAPSHOT'
jar {
manifest {
attributes 'Implementation-Title': 'Thimble',
'Implementation-Version': project.ext.fullVersion
}
}
configurations.all {
exclude group: "org.ow2.asm", module: "asm"
exclude group: "org.ow2.asm", module: "asm-commons"
exclude group: "org.bukkit", module: "bukkit"
exclude group: "org.checkerframework", module: "checker-qual"
exclude group: "com.googlecode.json-simple", module: "json-simple"
exclude group: "com.google.code.findbugs", module: "jsr305"
exclude group: "org.spigotmc", module: "spigot-api"
}
}