blob: 5d62467cbb674b3bc5696d9112b0c604a3ec4ebd (
plain)
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
|
buildscript {
repositories {
jcenter()
}
dependencies {
classpath "com.github.jengelman.gradle.plugins:shadow:4.0.2"
}
}
apply plugin: "com.github.johnrengelman.shadow"
apply plugin: "java"
repositories {
jcenter()
maven { url "https://jitpack.io" }
maven { url "https://hub.spigotmc.org/nexus/content/repositories/snapshots/" }
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
}
dependencies {
implementation "com.github.RedstonerServer:CommandManager:v1"
implementation "com.github.RedstonerServer:ChatAPI:v1"
compile group: 'org.apache.logging.log4j', name: 'log4j-1.2-api', version: '2.11.1'
compileOnly 'org.spigotmc:spigot-api:1.13.2-R0.1-SNAPSHOT'
}
jar {
manifest {
attributes "Class-Path": "../lib/CommandManager.jar ../lib/ChatAPI.jar"
}
}
task sourceJar(type: Jar, dependsOn: classes) {
classifier 'sources'
from sourceSets.main.allSource
}
|