-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.gradle
59 lines (52 loc) · 1.71 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
buildscript {
repositories {
maven { url = 'https://maven.minecraftforge.net' }
maven { url = 'https://maven.parchmentmc.org' }
mavenCentral()
}
dependencies {
classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '5.1.+', changing: true
classpath 'org.parchmentmc:librarian:1.+'
}
}
apply plugin: 'net.minecraftforge.gradle'
apply plugin: 'org.parchmentmc.librarian.forgegradle'
apply plugin: 'eclipse'
apply plugin: 'maven-publish'
version = '1.19.4-0.1.0'
group = 'com.builtbroken.cardboardboxes'
archivesBaseName = 'cardboardboxes'
java.toolchain.languageVersion = JavaLanguageVersion.of(17)
minecraft {
mappings channel: 'parchment', version: '1.19.3-2023.03.12-1.19.4'
runs {
client {
properties 'forge.logging.console.level': 'debug'
workingDirectory project.file('run/client')
source sourceSets.main
}
server {
properties 'forge.logging.console.level': 'debug'
args '-nogui'
workingDirectory project.file('run/server')
source sourceSets.main
}
}
}
dependencies {
minecraft 'net.minecraftforge:forge:1.19.4-45.1.0'
}
jar {
from('/') {
include 'LICENSE.txt'
}
manifest.attributes([
"Specification-Title": archivesBaseName,
"Specification-Vendor": "builtbroken",
"Specification-Version": "1", // We are version 1 of ourselves
"Implementation-Title": archivesBaseName,
"Implementation-Version": version,
"Implementation-Vendor" :"builtbroken",
"Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ")
])
}