-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
65 lines (55 loc) · 1.72 KB
/
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
plugins {
id("java-library")
id("maven-publish")
id("com.github.johnrengelman.shadow") version "8.1.1"
}
group 'dev.rollczi'
version '1.3.0'
repositories {
mavenCentral()
maven { url "https://hub.spigotmc.org/nexus/content/repositories/snapshots/" }
maven { url "https://maven.enginehub.org/repo/" }
}
dependencies {
compileOnly "org.jetbrains:annotations:26.0.2"
compileOnly "org.spigotmc:spigot-api:1.19-R0.1-SNAPSHOT"
compileOnly "com.mojang:authlib:1.5.25"
// JUnit tests jupiter
testImplementation 'org.awaitility:awaitility:4.2.2'
testImplementation "org.spigotmc:spigot-api:1.18.2-R0.1-SNAPSHOT"
testImplementation 'org.junit.jupiter:junit-jupiter:5.11.4'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.11.4'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.11.4'
}
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
publishing {
// repositories {
// mavenLocal()
// maven {
// name = "eternalcode-repository"
// url = uri("https://repo.eternalcode.pl/releases")
// credentials {
// username = "$lucky_user_litecommands"
// password = "$lucky_pass_litecommands"
// }
// }
// maven {
// name = "mine-repository"
// url = uri("https://repository.minecodes.pl/releases")
// credentials {
// username = "$mine_user"
// password = "$mine_pass"
// }
// }
// }
publications {
libraries(MavenPublication) {
artifactId = "liteskullapi"
from components.java
}
}
}
test {
useJUnitPlatform()
}