-
-
Notifications
You must be signed in to change notification settings - Fork 46
/
build.gradle.kts
41 lines (35 loc) · 979 Bytes
/
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
plugins {
id("maven-publish")
}
java {
withSourcesJar()
withJavadocJar()
}
repositories {
maven("https://repo.extendedclip.com/content/repositories/placeholderapi/")
}
dependencies {
compileOnly("me.clip:placeholderapi:2.11.5")
}
publishing {
repositories {
maven("https://nexus.sirblobman.xyz/public/") {
credentials {
username = rootProject.ext.get("mavenUsername") as String
password = rootProject.ext.get("mavenPassword") as String
}
}
}
publications {
create<MavenPublication>("maven") {
groupId = "com.github.sirblobman.combatlogx"
artifactId = "api"
version = rootProject.ext.get("apiVersion") as String
from(components["java"])
}
}
}
tasks.withType<Javadoc> {
val standardOptions = (options as StandardJavadocDocletOptions)
standardOptions.addStringOption("Xdoclint:none", "-quiet")
}