forked from R-Josef/Chemdah
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
147 lines (138 loc) · 4.72 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
`java-library`
`maven-publish`
id("io.izzel.taboolib") version "1.51"
id("org.jetbrains.kotlin.jvm") version "1.5.31"
id("org.jetbrains.dokka") version "1.6.0"
}
taboolib {
description {
contributors {
name("坏黑")
name("PengLx")
name("AmazingOcean")
name("R-Josef")
name("Galaxy-VN")
}
dependencies {
name("Adyeshach")
}
}
install("common")
install("common-5")
install("module-effect")
install("module-database")
// install("module-database-mongodb")
install("module-configuration")
install("module-kether")
install("module-chat")
install("module-lang")
install("module-metrics")
install("module-navigation")
install("module-ai")
install("module-nms")
install("module-nms-util")
install("module-ui")
install("platform-bukkit")
install("expansion-command-helper")
install("expansion-javascript")
classifier = null
version = "6.0.10-86"
relocate("ink.ptms.um", "ink.ptms.chemdah.um")
options("keep-kotlin-module")
}
repositories {
maven { url = uri("https://repo.pcgamingfreaks.at/repository/maven-everything") }
maven { url = uri("https://jitpack.io") }
mavenLocal()
mavenCentral()
}
dependencies {
// adyeshach
compileOnly("ink.ptms.adyeshach:all:2.0.0-snapshot-4")
taboo("ink.ptms:um:1.0.0-beta-23")
compileOnly("ink.ptms:error_reporter:1.0.0")
compileOnly("net.milkbowl.vault:Vault:1")
compileOnly("org.serverct.ersha.dungeon:DungeonPlus:1.1.3")
compileOnly("com.github.angeschossen:LandsAPI:5.13.0")
compileOnly("at.pcgamingfreaks:MarriageMaster-API-Bukkit:2.4")
compileOnly("me.badbones69:crazycrates-plugin:1.10")
compileOnly("com.sk89q.worldedit:WorldEdit:7")
compileOnly("public:FriendsAPI:1.1.0.9.1")
compileOnly("public:QuickShop:4.0.9.1")
compileOnly("public:nuvotifier:1.0.0")
compileOnly("public:Jobs:1.0.0")
compileOnly("public:even-more-fish:1.0.0")
compileOnly("public:ChatReaction:1.0.0")
compileOnly("public:Team:1.0.0:7")
compileOnly("public:Team:1.0.0:9")
compileOnly("public:Team:1.0.0:10")
compileOnly("public:Team2:1.0.0:1")
compileOnly("public:Team2:1.0.0:2")
compileOnly("public:Team2:1.0.0:3")
compileOnly("public:Team3:1.0.0:1")
compileOnly("public:Team3:1.0.0:2")
compileOnly("public:Team3:1.0.0:3")
compileOnly("public:CustomGo:1.0.0")
compileOnly("public:Skript:1.0.0")
compileOnly("public:SkillAPI:s1.98")
compileOnly("public:mcMMO:1.0.0")
compileOnly("public:MMOLib:1.0.0")
compileOnly("public:MMOCore:1.10.2")
compileOnly("public:MMOItems:1.0.0")
compileOnly("public:Parties:1.0.0")
compileOnly("public:NexEngine:1.0.0")
compileOnly("public:QuantumRPG:1.0.0")
compileOnly("public:JulyItems:1.0.0")
compileOnly("public:RPGItems:1.0.0")
compileOnly("public:Citizens:1.0.0")
compileOnly("public:MythicLib:1.0.0")
compileOnly("public:MythicMobs:1.0.1")
compileOnly("public:MythicMobs5:5.0.4")
compileOnly("public:ExecutableItems:1.0.0")
compileOnly("public:Brewery:1.0.0")
// compileOnly("ink.ptms:Blockdb:1.1.0")
compileOnly("ink.ptms:Zaphkiel:1.6.0")
// compileOnly("ink.ptms:Adyeshach:1.5.13-op16")
compileOnly("ink.ptms:Sandalphon:1.3.0")
compileOnly("ink.ptms.core:v11900:11900:all-mapped")
compileOnly("ink.ptms.core:v11400:11400")
compileOnly("ink.ptms:nms-all:1.0.0")
implementation(kotlin("stdlib"))
compileOnly(fileTree("libs"))
dokkaHtmlPlugin("org.jetbrains.dokka:kotlin-as-java-plugin:1.6.0")
}
tasks.withType<JavaCompile> {
options.encoding = "UTF-8"
}
tasks.withType<KotlinCompile> {
kotlinOptions {
jvmTarget = "1.8"
freeCompilerArgs = listOf("-Xjvm-default=all")
}
}
configure<JavaPluginConvention> {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
publishing {
repositories {
maven {
url = uri("https://repo.tabooproject.org/repository/releases")
credentials {
username = project.findProperty("taboolibUsername").toString()
password = project.findProperty("taboolibPassword").toString()
}
authentication {
create<BasicAuthentication>("basic")
}
}
}
publications {
create<MavenPublication>("library") {
from(components["java"])
groupId = "ink.ptms"
}
}
}