-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
52 lines (45 loc) · 1.48 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
buildscript {
repositories {
maven { url = 'https://maven.minecraftforge.net' }
mavenCentral()
}
dependencies {
classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '5.1.+', changing: true
}
}
apply plugin: 'net.minecraftforge.gradle'
apply plugin: 'eclipse'
apply plugin: 'maven-publish'
version = '1.1.0'
group = 'sbm-charcoalblock'
archivesBaseName = 'SBM-CharcoalBlock-1.19.3'
java.toolchain.languageVersion = JavaLanguageVersion.of(17)
minecraft {
mappings channel: 'official', version: '1.19.3'
runs {
client {
properties 'forge.logging.console.level': 'debug'
workingDirectory project.file('run')
source sourceSets.main
}
server {
properties 'forge.logging.console.level': 'debug'
workingDirectory project.file('run')
source sourceSets.main
}
}
}
dependencies {
minecraft 'net.minecraftforge:forge:1.19.3-44.0.6'
}
jar {
manifest {
attributes(["Specification-Title": "SBM-CharcoalBlock",
"Specification-Vendor": "Built Broken Modding",
"Specification-Version": "1",
"Implementation-Title": "SBM-CharcoalBlock",
"Implementation-Version": "${version}",
"Implementation-Vendor" :"Built Broken Modding",
"Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ")],)
}
}