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.
PagineDown/build.gradle

65 lines
1.3 KiB
Groovy

2 years ago
plugins {
id 'org.cadixdev.licenser' version '0.6.1'
2 years ago
id 'maven-publish'
id 'java'
2 years ago
}
group 'net.william278'
version '1.1'
defaultTasks 'licenseFormat', 'build'
2 years ago
repositories {
mavenCentral()
maven { url 'https://repo.minebench.de/' }
}
dependencies {
compileOnly 'de.themoep:minedown-adventure:1.7.1-SNAPSHOT'
compileOnly 'org.jetbrains:annotations:24.0.1'
2 years ago
testImplementation 'de.themoep:minedown-adventure:1.7.1-SNAPSHOT'
testImplementation 'net.kyori:adventure-platform-bukkit:4.3.0'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.3'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.3'
2 years ago
}
compileJava.options.encoding = 'UTF-8'
tasks.withType(JavaCompile).configureEach {
2 years ago
options.encoding = 'UTF-8'
}
logger.lifecycle("Building PagineDown ${version} by William278")
version rootProject.version
archivesBaseName = "${rootProject.name}"
license {
header = rootProject.file('HEADER')
include '**/*.java'
newLine = true
2 years ago
}
javadoc {
options.encoding = 'UTF-8'
options.addStringOption('Xdoclint:none', '-quiet')
}
java {
withSourcesJar()
withJavadocJar()
}
2 years ago
publishing {
publications {
shadow(MavenPublication) { publication ->
from components.java
}
}
repositories {
mavenLocal()
}
}
test {
useJUnitPlatform()
}