Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zh_ch #26

Open
wants to merge 3 commits into
base: 1.18-Architectury
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ run

# Files from Forge MDK
forge*changelog.txt
changelog.txt
24 changes: 21 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@ buildscript {
//classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '4.1.+', changing: true
}
}

plugins {
id 'com.matthewprenger.cursegradle' version '1.4.0'
id 'eclipse'
id 'maven-publish'
}
apply plugin: 'net.minecraftforge.gradle'
// Only edit below this line, the above code adds and enables the necessary things for Forge to be setup.
apply plugin: 'eclipse'
apply plugin: 'maven-publish'
version = "${mod_version}"
group = 'com.ashindigo.storagecabinet'
archivesBaseName = "${minecraft_version}-StorageCabinet"
Expand Down Expand Up @@ -105,6 +107,22 @@ jar.finalizedBy('reobfJar')
// However if you are in a multi-project build, dev time needs unobfed jar files, so you can delay the obfuscation until publishing by doing
//publish.dependsOn('reobfJar')

curseforge {
apiKey = "${curseforge_apikey}"
project {
id = '304889'
changelog = file('changelog.txt') // A file can also be set using: changelog = file('changelog.txt')
releaseType = 'release'
addGameVersion "${minecraft_version}"
mainArtifact(jar) {
displayName = "$archivesBaseName-$mod_version-Forge"
}
}
options {
debug = true
}
}

publishing {
publications {
mavenJava(MavenPublication) {
Expand Down
Loading