Skip to content

Commit

Permalink
build(test): test cursegradle
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
WakelessSloth56 committed Apr 24, 2022
1 parent 4a3fc4b commit 3538324
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions build.gradle
Expand Up @@ -7,13 +7,15 @@ buildscript {
dependencies {
classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '5.1.+', changing: true
classpath 'org.spongepowered:mixingradle:0.7-SNAPSHOT'
// classpath "gradle.plugin.com.matthewprenger:CurseGradle:1.4.0"
}
}
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'
apply plugin: 'org.spongepowered.mixin'
// apply plugin: "com.matthewprenger.cursegradle"

group = 'org.auioc.mcmod'
archivesBaseName = "arnicalib"
Expand Down Expand Up @@ -162,6 +164,25 @@ task genUpdateJson() {
}
}

// curseforge {
// apiKey = getVar('CF_API_KEY')
// project {
// id = '610820'
// changelogType = 'text'
// changelog = ''
// releaseType = 'release'
// addGameVersion "${minecraft_version}"
// mainArtifact jar
// addArtifact sourcesJar
// addArtifact deobfJar
// addArtifact forgelibJar
// }
// options {
// debug = true
// forgeGradleIntegration = false
// }
// }


def getVar(String var_name) {
return System.getenv(var_name)
Expand Down

0 comments on commit 3538324

Please sign in to comment.