-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
45 lines (37 loc) · 977 Bytes
/
build.gradle
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
plugins {
id 'java'
id 'maven-publish'
}
group 'me.dynmie.commands'
version '1.0'
repositories {
mavenCentral()
maven {
url 'https://repo.papermc.io/repository/maven-public/'
}
}
dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.1'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.1'
compileOnly 'io.papermc.paper:paper-api:1.20.2-R0.1-SNAPSHOT'
compileOnly 'org.projectlombok:lombok:1.18.28'
compileOnly 'org.jetbrains:annotations:24.0.0'
annotationProcessor 'org.jetbrains:annotations:24.0.0'
annotationProcessor 'org.projectlombok:lombok:1.18.28'
}
test {
useJUnitPlatform()
}
java {
toolchain.languageVersion.set(JavaLanguageVersion.of(17))
}
publishing {
publications {
mavenJava(MavenPublication) {
groupId = group
artifactId = 'CommandFramework'
version = version
from components.java
}
}
}