-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathbuild.gradle
More file actions
43 lines (37 loc) · 969 Bytes
/
build.gradle
File metadata and controls
43 lines (37 loc) · 969 Bytes
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
plugins {
id 'java'
id 'io.freefair.lombok' version '8.13.1'
id 'maven-publish'
id 'com.gradleup.shadow' version '8.3.3'
}
group 'me.gleeming.command'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
maven { url 'https://jitpack.io/' }
maven { url 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/' }
}
publishing {
publications {
shadow(MavenPublication) {
publication -> project.shadow.component(publication)
}
}
repositories {
maven {
url "https://repo.trinsic.dev/repository/trinsic-public/"
credentials {
username = System.getenv("MAVEN_USERNAME")
password = System.getenv("MAVEN_PASSWORD")
}
}
}
}
dependencies {
compileOnly('org.spigotmc:spigot-api:1.8.8-R0.1-SNAPSHOT') {
exclude group: 'net.md-5'
}
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}