Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-11-17 05:20:14 +01:00
36 Zeilen
629 B
Groovy
36 Zeilen
629 B
Groovy
|
plugins {
|
||
|
id 'java-library'
|
||
|
id 'maven-publish'
|
||
|
id 'checkstyle'
|
||
|
}
|
||
|
|
||
|
apply plugin: 'org.cadixdev.licenser'
|
||
|
apply from: '../gradle/checkstyle.gradle'
|
||
|
apply from: '../gradle/publish.gradle'
|
||
|
apply from: '../gradle/errorprone.gradle'
|
||
|
|
||
|
java {
|
||
|
sourceCompatibility = JavaVersion.VERSION_11
|
||
|
targetCompatibility = JavaVersion.VERSION_11
|
||
|
}
|
||
|
|
||
|
license {
|
||
|
header = project.rootProject.file('HEADER.txt')
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
implementation project(':velocity-api')
|
||
|
}
|
||
|
|
||
|
test {
|
||
|
useJUnitPlatform()
|
||
|
}
|
||
|
|
||
|
publishing {
|
||
|
publications {
|
||
|
mavenJava(MavenPublication) {
|
||
|
from components.java
|
||
|
}
|
||
|
}
|
||
|
}
|