forked from 1337Zero/FoundDiamonds
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
31 lines (27 loc) · 792 Bytes
/
build.gradle
File metadata and controls
31 lines (27 loc) · 792 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
apply plugin: 'java'
sourceCompatibility = 1.8
repositories {
mavenCentral()
maven {
name 'Spigot/Bukkit maven repo'
url 'https://hub.spigotmc.org/nexus/content/groups/public/'
}
maven {
name 'daleths-repo'
url 'https://dalethium.com/jenkins/plugin/repository/everything'
}
}
configurations {
// configuration that holds jars to include in the jar
extraLibs
}
dependencies {
compile "org.spigotmc:spigot-api:1.16.1-R0.1-SNAPSHOT"
//extraLibs group: 'coffee.weneed', name: 'utils', version: '1.0.0-SNAPSHOT'
configurations.compile.extendsFrom(configurations.extraLibs)
}
jar {
from {
configurations.extraLibs.collect { it.isDirectory() ? it : zipTree(it) }
}
}