-
Notifications
You must be signed in to change notification settings - Fork 14
/
build.gradle
69 lines (59 loc) · 1.64 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
plugins {
id 'fabric-loom' version '1.7-SNAPSHOT'
id 'maven-publish'
id 'net.kyori.indra.publishing.sonatype' version '3.1.3'
id 'net.kyori.indra.publishing' version '3.1.3'
}
repositories {
maven { url 'https://maven.fabricmc.net/' }
}
def minecraftVersion = '1.21.3'
def yarnBuild = 2
def loaderVersion = '0.16.7'
def fabricApiVersion = '0.106.1+1.21.3'
group = 'me.lucko'
version = '0.3.4-SNAPSHOT'
description = 'A simple permissions API for Fabric'
dependencies {
minecraft "com.mojang:minecraft:${minecraftVersion}"
mappings "net.fabricmc:yarn:${minecraftVersion}+build.${yarnBuild}:v2"
modImplementation "net.fabricmc:fabric-loader:${loaderVersion}"
modImplementation platform("net.fabricmc.fabric-api:fabric-api-bom:${fabricApiVersion}")
modImplementation "net.fabricmc.fabric-api:fabric-api-base"
}
processResources {
inputs.property "version", project.version
filesMatching('fabric.mod.json') {
expand "version": project.version
}
filteringCharset = 'UTF-8'
}
java {
withSourcesJar()
withJavadocJar()
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}
tasks.withType(JavaCompile).configureEach {
options.encoding = "UTF-8"
options.release = 8
}
indra {
github("lucko", "fabric-permissions-api") {
ci(true)
}
mitLicense()
configurePublications {
from components.java
pom {
developers {
developer {
id = 'Luck'
url = 'https://lucko.me'
}
}
}
}
signWithKeyFromProperties("signingKey", "signingPassword")
}