You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
DesertWell/build.gradle

56 lines
1.2 KiB
Groovy

2 years ago
plugins {
id 'java'
id 'maven-publish'
id 'com.github.johnrengelman.shadow' version '8.1.1'
2 years ago
}
group 'net.william278'
version '2.0'
2 years ago
repositories {
mavenCentral()
maven { url 'https://repo.minebench.de/' }
}
dependencies {
implementation 'de.themoep:minedown-adventure:1.7.1-SNAPSHOT'
implementation 'org.json:json:20230227'
compileOnly 'net.kyori:adventure-api:4.13.1'
2 years ago
compileOnly 'org.jetbrains:annotations:23.0.0'
testImplementation 'de.themoep:minedown-adventure:1.7.1-SNAPSHOT'
testImplementation 'net.kyori:adventure-platform-bukkit:4.1.2'
2 years ago
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.0'
}
compileJava.options.encoding = 'UTF-8'
tasks.withType(JavaCompile).configureEach {
2 years ago
options.encoding = 'UTF-8'
}
java {
withSourcesJar()
withJavadocJar()
}
javadoc {
options.encoding = 'UTF-8'
options.addStringOption('Xdoclint:none', '-quiet')
}
publishing {
publications {
shadow(MavenPublication) { publication ->
from components.java
}
}
repositories {
mavenLocal()
}
}
test {
useJUnitPlatform()
}