This repository has been archived by the owner on Jul 18, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
70 lines (56 loc) · 1.5 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
plugins {
id 'java'
id 'application'
id 'checkstyle'
id "org.sonarqube" version "3.3"
}
group 'xyz.gupton.nickolas.beepsky'
version '2.1.5'
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
jar {
classes.dependsOn(clean)
manifest {
attributes 'Implementation-Title': 'Officer Beepsky',
'Implementation-Version': project.version,
'Main-Class': 'xyz.gupton.nickolas.beepsky.OfficerBeepsky'
}
duplicatesStrategy = DuplicatesStrategy.INCLUDE
from {
configurations.runtimeClasspath.collect {
it.isDirectory() ? it : zipTree(it)
}
}
}
startScripts {
mainClass.set('xyz.gupton.nickolas.beepsky.OfficerBeepsky')
}
repositories {
mavenCentral()
maven {
url 'https://jitpack.io'
}
maven {
url 'https://m2.dv8tion.net/releases'
}
}
dependencies {
checkstyle 'com.puppycrawl.tools:checkstyle:10.7.0'
implementation 'com.discord4j:discord4j-core:3.2.3'
implementation 'com.discord4j:discord4j-voice:3.2.3'
implementation 'com.sedmelluq:lavaplayer:1.3.78'
implementation 'org.slf4j:slf4j-simple:2.0.6'
}
tasks.withType(Checkstyle) {
reports {
xml.required = false
html.required = false
}
}
sonarqube {
properties {
property "sonar.projectKey", "CorruptComputer_Officer-Beepsky"
property "sonar.organization", "corruptcomputer"
property "sonar.host.url", "https://sonarcloud.io"
}
}