-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
49 lines (43 loc) · 1.13 KB
/
build.gradle
File metadata and controls
49 lines (43 loc) · 1.13 KB
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
plugins {
id 'java'
id 'maven-publish'
}
group 'io.izzel.arclight'
version '1.7.4'
repositories {
mavenCentral()
maven { url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/' }
maven { url = 'https://files.minecraftforge.net/maven/' }
}
dependencies {
compileOnly 'org.ow2.asm:asm:9.3'
compileOnly 'org.ow2.asm:asm-tree:9.3'
compileOnly "org.spigotmc:spigot-api:1.18-R0.1-SNAPSHOT"
compileOnly "net.minecraftforge:eventbus:4.0.0"
}
java {
withSourcesJar()
withJavadocJar()
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
compileJava {
options.encoding = 'UTF-8'
}
publishing {
repositories {
maven {
name = "IzzelAliz"
url = uri("https://maven.izzel.io/releases")
credentials {
username = project.findProperty("mavenUser") ?: System.getenv("USERNAME")
password = project.findProperty("mavenToken") ?: System.getenv("TOKEN")
}
}
}
publications {
gpr(MavenPublication) {
from(components.java)
}
}
}