-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
52 lines (43 loc) · 1.15 KB
/
build.gradle.kts
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
val itemBuilderArtifact by extra("itembuilder")
plugins {
id("java-library")
id("maven-publish")
id("com.github.johnrengelman.shadow") version "7.1.2"
id("net.minecrell.plugin-yml.bukkit") version "0.5.1"
}
allprojects {
group = "dev.vetther"
version = "1.0.2"
apply(plugin = "java-library")
apply(plugin = "maven-publish")
apply(plugin = "com.github.johnrengelman.shadow")
java {
withSourcesJar()
}
}
subprojects {
repositories {
mavenLocal()
mavenCentral()
maven { url = uri("https://hub.spigotmc.org/nexus/content/repositories/snapshots/") }
}
java {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
/*
publishing {
repositories {
mavenLocal()
maven {
name = "eternalcode-repository"
url = uri("https://repo.eternalcode.pl/releases")
credentials {
username = properties["user"] as String
password = properties["pass"] as String
}
}
}
}
*/
}