-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
72 lines (58 loc) · 1.57 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
66
67
68
69
70
71
72
plugins {
id 'java'
alias libs.plugins.shadow
id 'com.github.spotbugs' version '5.0.7' apply false
}
allprojects {
apply plugin: 'checkstyle'
apply plugin: 'pmd'
apply plugin: 'com.github.spotbugs'
group = 'org.craftcoin.walletconnectmc'
version = '0.1.0-SNAPSHOT'
java.sourceCompatibility = JavaVersion.VERSION_17
repositories {
mavenCentral()
// Velocity
maven {
url = uri('https://repo.papermc.io/repository/maven-public/')
}
// Spigot
maven {
url = uri('https://hub.spigotmc.org/nexus/content/repositories/snapshots/')
}
// kotlin-walletconnect-lib, miniplaceholders
maven {
url = uri('https://jitpack.io')
}
}
pmd {
consoleOutput = true
toolVersion = '6.46.0'
ruleSetFiles = files(new File(rootProject.rootDir, 'config/pmd/pmd.xml'))
ruleSets.clear()
}
spotbugs {
ignoreFailures = false
showStackTraces = true
showProgress = true
reportLevel = 'HIGH'
}
}
dependencies {
implementation project(':common')
implementation project(':velocity')
implementation project(':paper')
implementation project(':api')
}
subprojects.each { subproject -> evaluationDependsOn(subproject.path) }
shadowJar {
subprojects.each { subproject ->
from subproject.configurations.archives.allArtifacts.files.collect {
zipTree(it)
}
}
archiveClassifier.set('')
}
artifacts {
archives shadowJar
}