-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.gradle
More file actions
42 lines (36 loc) · 992 Bytes
/
build.gradle
File metadata and controls
42 lines (36 loc) · 992 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
plugins {
id 'java'
id 'org.jetbrains.kotlin.jvm' version '1.4.10'
id 'com.github.johnrengelman.shadow' version '6.1.0'
}
repositories {
mavenCentral()
maven { url 'https://repo.codemc.io/repository/nms/' }
jcenter()
mavenLocal()
}
defaultTasks("shadowJar")
dependencies {
compileOnly 'org.jetbrains.kotlin:kotlin-stdlib'
compileOnly 'org.bukkit:craftbukkit:1.12.2-R0.1-SNAPSHOT'
compileOnly 'org.sct.vault:VaultAPI:1.7'
compileOnly 'org.sct:EasyLib:2.4.3'
}
group = 'org.sct'
version = '1.6.0-Alpha'
description = 'Lock'
sourceCompatibility = '8'
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
options.compilerArgs.add('-Xlint:deprecation')
options.compilerArgs.add('-Xlint:unchecked')
}
task copyFile(type: Copy, dependsOn: shadowJar) {
duplicatesStrategy = DuplicatesStrategy.INCLUDE
from('build/libs/')
into('E:/work/1.16.5test/plugins/')
include('Lock*.jar')
rename {
"Lock.jar"
}
}