Compare commits
1 Commits
V1.0-1.20.
...
1.20.2
Author | SHA1 | Date | |
---|---|---|---|
ee6dbc9e84 |
23
build.gradle
23
build.gradle
@ -70,8 +70,7 @@ minecraft {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
sourceSets.main.resources { srcDir 'src/generated/resources' }
|
sourceSets.main.resources { srcDir 'src/generated/resources' }
|
||||||
repositories {
|
repositories {}
|
||||||
}
|
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
minecraft "net.minecraftforge:forge:${minecraft_version}-${forge_version}"
|
minecraft "net.minecraftforge:forge:${minecraft_version}-${forge_version}"
|
||||||
@ -105,13 +104,16 @@ java{
|
|||||||
|
|
||||||
jar {
|
jar {
|
||||||
manifest {
|
manifest {
|
||||||
attributes(["Specification-Title" : mod_id,
|
attributes([
|
||||||
|
"Specification-Title" : mod_id,
|
||||||
"Specification-Vendor" : mod_authors,
|
"Specification-Vendor" : mod_authors,
|
||||||
"Specification-Version" : "1",
|
"Specification-Version" : "1",
|
||||||
"Implementation-Title" : project.name,
|
"Implementation-Title" : project.name,
|
||||||
"Implementation-Version" : project.jar.archiveVersion,
|
"Implementation-Version" : project.jar.archiveVersion,
|
||||||
"Implementation-Vendor" : mod_authors,
|
"Implementation-Vendor" : mod_authors,
|
||||||
"Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ")])
|
"Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ"),
|
||||||
|
"MixinConfigs" : "${mod_id}.mixins.json"
|
||||||
|
])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -121,11 +123,18 @@ jar.finalizedBy('reobfJar')
|
|||||||
|
|
||||||
publishing {
|
publishing {
|
||||||
publications {
|
publications {
|
||||||
mavenJava(MavenPublication) {
|
register('mavenJava', MavenPublication) {
|
||||||
artifact jar
|
from components.java
|
||||||
|
groupId = mod_group_id
|
||||||
|
artifactId = mod_id
|
||||||
|
}
|
||||||
|
}
|
||||||
|
repositories {
|
||||||
|
maven {
|
||||||
|
name= "Disk"
|
||||||
|
url = uri("D:/git/maven-repository-raw")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
repositories {}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.withType(JavaCompile).configureEach {
|
tasks.withType(JavaCompile).configureEach {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user