-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
51 lines (44 loc) · 1.22 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
plugins {
id 'maven-publish'
id 'org.jetbrains.kotlin.jvm' version '1.8.22'
}
group = 'skywolf46'
version = rootProject.properties["version"]
sourceCompatibility = targetCompatibility = '1.8'
compileKotlin {
kotlinOptions.jvmTarget = '1.8'
}
compileTestKotlin {
kotlinOptions.jvmTarget = '1.8'
}
repositories {
mavenCentral()
maven {
url = "https://repo.trinarywolf.net/releases"
}
}
dependencies {
api("skywolf46:devain-version-full:1.3.2")
api("net.dv8tion:JDA:5.0.0") {
exclude module: 'opus-java'
}
}
publishing {
repositories {
maven {
url(rootProject.properties["reposilite.release"] ?: "https://YOUR_REPOSIITE_URL/")
credentials {
username(rootProject.properties['reposilite.user'] as String ?: "YOUR_REPOSITORY_USERNAME")
password(rootProject.properties['reposilite.token'] as String ?: "YOUR_REPOSITORY_PASSWORD")
}
}
}
publications {
register("jar${project.name}", MavenPublication) {
groupId 'skywolf46'
artifactId "devain-discord-jda"
version(rootProject.properties['version'] as String)
from components.java
}
}
}