Skip to content

Commit

Permalink
cleanup and re-add journeymap from CF as a dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
mysticdrew committed Jun 18, 2024
1 parent e19090a commit 17de5f2
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 63 deletions.
24 changes: 0 additions & 24 deletions Fabric/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -237,30 +237,6 @@ if (!project.hasProperty("modrinthApiKey")) {
ext.modrinthApiKey = project.findProperty("modrinth_api_key") ?: "notset"
}

//curseforge {
// project {
// id = '793035'
// apiKey = "${curseForgeApiKey}"
// changelogType = 'html'
// releaseType = release_type
// addGameVersion project.minecraft_version
// addGameVersion 'Fabric'
// addGameVersion 'Quilt'
//
// relations {
// requiredDependency 'journeymap'
// }
//
// mainArtifact(remapJar) {
// displayName = "${archivesBaseName}-${version}"
// changelog = file('/build/doc/changelog.html')
// }
// afterEvaluate {
// uploadTask.dependsOn(remapJar)
// }
// }
//}

task publishCurseForge(type: net.darkhax.curseforgegradle.TaskPublishCurseForge) {

apiToken = "${curseForgeApiKey}"
Expand Down
18 changes: 0 additions & 18 deletions Forge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -283,24 +283,6 @@ if (!project.hasProperty("modrinthApiKey")) {
ext.modrinthApiKey = project.findProperty("modrinth_api_key") ?: "notset"
}

//curseforge {
// project {
// id = '793035'
// apiKey = "${curseForgeApiKey}"
// changelogType = 'html'
// releaseType = release_type
// addGameVersion project.minecraft_version
// relations {
// requiredDependency 'journeymap'
// }
//
// mainArtifact(shadowJar) {
// displayName = "${archivesBaseName}-${version}-forge"
// changelog = file('/build/doc/changelog.html')
// }
// }
//}

task publishCurseForge(type: net.darkhax.curseforgegradle.TaskPublishCurseForge) {

apiToken = "${curseForgeApiKey}"
Expand Down
18 changes: 0 additions & 18 deletions NeoForge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -216,24 +216,6 @@ if (!project.hasProperty("modrinthApiKey")) {
ext.modrinthApiKey = project.findProperty("modrinth_api_key") ?: "notset"
}

//curseforge {
// project {
// id = '793035'
// apiKey = "${curseForgeApiKey}"
// changelogType = 'html'
// releaseType = release_type
// addGameVersion project.minecraft_version
// relations {
// requiredDependency 'journeymap'
// }
//
// mainArtifact(shadowJar) {
// displayName = "${archivesBaseName}-${version}-forge"
// changelog = file('/build/doc/changelog.html')
// }
// }
//}

task publishCurseForge(type: net.darkhax.curseforgegradle.TaskPublishCurseForge) {

apiToken = "${curseForgeApiKey}"
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -78,15 +78,15 @@ subprojects {

dependencies {
implementation group: 'info.journeymap', name: 'webmap-client', version: project.journeymap_webmap_version, changing: true
compileOnly "ignored:journeymap-forge-1.21-6.0.0-beta.1"
compileOnly "curse.maven:journeymap-32274:${project.jourenymap_forge_version}"
// for annotations
implementation group: 'com.google.code.findbugs', name: 'jsr305', version: '3.0.1'

// external libs
implementation group: 'javax.servlet', name: 'javax.servlet-api', version: '4.0.1'
implementation group: 'org.jetbrains.kotlin', name: 'kotlin-stdlib', version: '1.9.20'
implementation group: 'io.javalin', name: 'javalin', version: '6.1.6'
testImplementation "ignored:journeymap-forge-1.21-6.0.0-beta.1"
testImplementation "curse.maven:journeymap-32274:${project.jourenymap_forge_version}"

}

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ release_type=release
# Forge
mappings_channel=parchment
forge_version=51.0.0
journeymap_forge_version=4240527
journeymap_forge_version=5440965

#neoforge
neoforge_version=21.0.0-beta
Expand Down

0 comments on commit 17de5f2

Please sign in to comment.