-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
43 lines (35 loc) · 844 Bytes
/
build.gradle.kts
File metadata and controls
43 lines (35 loc) · 844 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
43
plugins {
java
`maven-publish`
}
repositories {
mavenLocal()
maven("https://hub.spigotmc.org/nexus/content/repositories/snapshots/")
// lss的库
maven("https://lss233.littleservice.cn/repositories/minecraft")
mavenCentral()
}
dependencies {
compileOnly("org.spigotmc:spigot-api:1.15.2-R0.1-SNAPSHOT")
compileOnly("org.spigotmc:spigot-api:1.12.2-R0.1-SNAPSHOT")
}
group = "top.zoyn.particlelib"
version = "1.5.1"
description = "ParticleLib"
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
withSourcesJar()
withJavadocJar()
}
publishing {
publications.create<MavenPublication>("maven") {
from(components["java"])
}
}
tasks.compileJava {
options.encoding = "UTF-8"
}
tasks.javadoc {
options.encoding = "UTF-8"
}