-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
53 lines (46 loc) · 1.02 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
// Plugins used in the project
plugins {
id 'java-gradle-plugin'
id 'maven-publish'
}
// Change java compatibility level to 22
sourceCompatibility = targetCompatibility = 22
// Name, version and group for the project
version = "1.3-SNAPSHOT"
group = "com.minecrafttas"
archivesBaseName = "discombobulator"
// Configure the gradle plugin
gradlePlugin {
plugins {
discombobulator {
id = 'discombobulator'
implementationClass = 'com.minecrafttas.discombobulator.Discombobulator'
}
}
}
repositories {
mavenCentral()
}
dependencies {
testImplementation(platform('org.junit:junit-bom:5.11.3'))
testImplementation('org.junit.jupiter:junit-jupiter')
implementation 'commons-io:commons-io:2.17.0'
}
test {
useJUnitPlatform()
testLogging {
events "passed", "skipped", "failed"
}
}
publishing {
repositories {
maven {
name = "mgnetwork"
url = "https://maven.mgnet.work/main"
credentials(PasswordCredentials)
authentication {
basic(BasicAuthentication)
}
}
}
}