-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
42 lines (36 loc) · 1015 Bytes
/
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
plugins {
id 'java'
id 'maven-publish'
}
group 'io.izzel.arclight'
version '1.2.4'
repositories {
maven { url = 'https://repo.spongepowered.org/maven' }
mavenCentral()
}
dependencies {
implementation 'org.spongepowered:mixin:0.8.5'
implementation 'org.ow2.asm:asm:9.1'
implementation 'org.ow2.asm:asm-tree:9.1'
implementation 'org.ow2.asm:asm-commons:9.1'
implementation 'org.apache.logging.log4j:log4j-core:2.17.1'
}
java.toolchain.languageVersion = JavaLanguageVersion.of(17)
java.withSourcesJar()
publishing {
repositories {
maven {
name = "IzzelAliz"
url = uri("https://maven.izzel.io/releases")
credentials {
username = project.findProperty("gpr.user") ?: System.getenv("USERNAME")
password = project.findProperty("gpr.key") ?: System.getenv("TOKEN")
}
}
}
publications {
mavenJava(MavenPublication) {
from components.java
}
}
}