-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
62 lines (53 loc) · 1.79 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
buildscript {
repositories {
mavenCentral()
maven { url "https://plugins.gradle.org/m2/" }
maven { url = "https://oss.sonatype.org/content/repositories/snapshots/" }
jcenter()
}
dependencies {
classpath 'gradle.plugin.nl.javadude.gradle.plugins:license-gradle-plugin:0.14.0'
classpath 'com.github.jengelman.gradle.plugins:shadow:4.0.2'
}
}
apply plugin: 'com.github.johnrengelman.shadow'
apply plugin: 'java'
apply plugin: 'com.github.hierynomus.license'
group 'org.incendo'
version '1.0-SNAPSHOT'
sourceCompatibility = 1.8
targetCompatibility = 1.8
license {
mapping {
java = 'DOUBLESLASH_STYLE'
}
}
repositories {
maven { url "https://hub.spigotmc.org/nexus/content/repositories/snapshots/" }
maven { url = "https://oss.sonatype.org/content/repositories/snapshots/" }
maven { url "http://nexus.hc.to/content/repositories/pub_releases" }
maven { url = "https://repo.codemc.org/repository/maven-public" }
maven { url 'https://jitpack.io' }
mavenLocal()
mavenCentral()
}
dependencies {
compileOnly 'org.bukkit:craftbukkit:1.13.2-R0.1-SNAPSHOT'
compileOnly 'org.projectlombok:lombok:1.18.4'
compile 'com.github.Sauilitired:Configurable:aa2e6af5d2'
compile 'com.github.Sauilitired:CommandAPI:d4763787d7'
compile group: 'com.google.guava', name: 'guava', version: '27.0.1-jre'
compile group: 'org.jetbrains', name: 'annotations', version: '16.0.3'
}
jar.enabled = false
shadowJar {
/*dependencies {
include('com.github.Sauilitired:Configurable:aa2e6af5d2')
include('com.github.Sauilitired:CommandAPI:d4763787d7')
}*/
dependencies {
exclude('org.bukkit:craftbukkit:1.13.2-R0.1-SNAPSHOT')
}
}
build.dependsOn(licenseFormatMain)
build.dependsOn(shadowJar)