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

Trying to get the workflow to work #23

Merged
merged 36 commits into from
Aug 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
52f7388
Updated All Comments and CONTRIBUTING.MD
MeAlam1 Aug 17, 2024
81575e8
Merge branch 'MeAlam1:1.20.4' into 1.20.4
MeAlam1 Aug 17, 2024
c245731
Created an InterfaceBase + Authored the Code
MeAlam1 Aug 17, 2024
ab4032c
Merge branch '1.20.4' of https://github.com/Repo-Fork-Alam/BlueLib-Fo…
MeAlam1 Aug 17, 2024
685edf0
Forgot the copyright shush
MeAlam1 Aug 17, 2024
68401c6
Merge branch 'MeAlam1:1.20.4' into 1.20.4
MeAlam1 Aug 17, 2024
653496d
Moved the ReloadDataHandler to the Library
MeAlam1 Aug 20, 2024
e9d289d
Added Copyright
MeAlam1 Aug 20, 2024
6ea1ddb
Fixed the Custom Parameters to accept Int, Bool & Array
MeAlam1 Aug 21, 2024
2a0a475
Fixed some commenting
MeAlam1 Aug 21, 2024
eb1c9b0
Merge branch '1.20.4' into 1.20.4
MeAlam1 Aug 21, 2024
422b806
Fixed the Datapack Support
MeAlam1 Aug 21, 2024
efcf856
Merge branch '1.20.4' of https://github.com/Repo-Fork-Alam/BlueLib-Fo…
MeAlam1 Aug 21, 2024
81f22e5
Merge branch '1.20.4' into 1.20.4
MeAlam1 Aug 21, 2024
34e84a2
Merge branch 'MeAlam1:1.20.4' into 1.20.4
MeAlam1 Aug 21, 2024
e16a5cb
/reload now registers new Variants
MeAlam1 Aug 21, 2024
1b28727
Fixed the Reload, but there is a 1 sec timer which needs to go
MeAlam1 Aug 22, 2024
cad205d
Updated Comments
MeAlam1 Aug 22, 2024
48fc344
Merge branch 'MeAlam1:1.20.4' into 1.20.4
MeAlam1 Aug 28, 2024
e3143ac
Updated the Wiki Template
MeAlam1 Aug 28, 2024
2791e49
Merge branch 'MeAlam1:1.20.4' into 1.20.4
MeAlam1 Aug 28, 2024
e2d95bb
Revised and Double Checked the Entire Code!!!!
MeAlam1 Aug 28, 2024
bf40db0
Merge branch 'MeAlam1:1.20.4' into 1.20.4
MeAlam1 Aug 28, 2024
6f56a2d
Update CONTRIBUTING.md
MeAlam1 Aug 29, 2024
a17073e
Update CONTRIBUTING.md
MeAlam1 Aug 29, 2024
cc0ad68
Finished Commenting BlueLib
MeAlam1 Aug 29, 2024
4e9cdef
Update CONTRIBUTING.md
MeAlam1 Aug 29, 2024
d2ccc42
Commented all Library related code for the Test Mod
MeAlam1 Aug 29, 2024
505ffef
Removed Docs
MeAlam1 Aug 29, 2024
2a58516
Merge branch 'MeAlam1:1.20.4' into 1.20.4
MeAlam1 Aug 29, 2024
ae7bb5b
Added Forge Port(BROKEN)
MeAlam1 Aug 29, 2024
9780b7a
Removed the TestMod / Fixed Forge
MeAlam1 Aug 30, 2024
ad823a4
Merge branch 'MeAlam1:1.20.4' into 1.20.4
MeAlam1 Aug 30, 2024
2dc0fce
Minimized the build.gradle
MeAlam1 Aug 30, 2024
5a1bdb6
Merge branch 'MeAlam1:1.20.4' into 1.20.4
MeAlam1 Aug 30, 2024
cf8c266
Merge branch '1.20.4' into 1.20.4
MeAlam1 Aug 30, 2024
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
41 changes: 0 additions & 41 deletions Forge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ plugins {
id 'idea'
id 'maven-publish'
id 'net.minecraftforge.gradle' version '[6.0.16,6.2)'
id 'com.modrinth.minotaur' version '2.8.3'
id 'net.darkhax.curseforgegradle' version '1.1.15'
id 'org.spongepowered.mixin' version '0.7.+'
}

Expand Down Expand Up @@ -115,45 +113,6 @@ tasks.named('jar', Jar).configure {
finalizedBy 'reobfJar'
}

publishing {
publications {
create('mavenJava', MavenPublication) {
from components.java
groupId = "software.bluelib.forge"
artifactId = "bluelib"
version = "1.0.0"
}
}
repositories {
mavenLocal() // Add this to publish to local Maven repository
}
}

// Add Modrinth publishing configuration
modrinth {
token = System.getenv("modrinthKey") ?: "Invalid/No API Token Found"
projectId = '8BmcQJ2H'
versionNumber = mod_version
versionName = "Forge ${minecraft_version}"
uploadFile = tasks.jar
changelog = rootProject.file("changelog.txt").text
gameVersions = [minecraft_version]
loaders = ['forge']
}


task publishToCurseForge(type: net.darkhax.curseforgegradle.TaskPublishCurseForge) {
group = "publishing"
apiToken = System.getenv("curseforge.apitoken") ?: "Invalid/No API Token Found"

def mainFile = upload(388172, tasks.jar)
mainFile.releaseType = "release"
mainFile.addModLoader("Forge")
mainFile.addGameVersion(minecraft_version)
mainFile.addJavaVersion("Java 17")
mainFile.changelog = rootProject.file("changelog.txt").text
}

tasks.withType(JavaCompile).configureEach {
options.encoding = 'UTF-8'
}
Expand Down
28 changes: 0 additions & 28 deletions NeoForge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
id 'idea'
id 'maven-publish'
id 'net.neoforged.gradle.userdev' version '7.0.97'
id 'com.modrinth.minotaur' version '2.8.3'
id 'net.darkhax.curseforgegradle' version '1.1.15'
}

version = mod_version
Expand Down Expand Up @@ -104,32 +102,6 @@ tasks.withType(ProcessResources).configureEach {
}
}

modrinth {
token = System.getenv("modrinthKey") ?: "Invalid/No API Token Found"
projectId = '8BmcQJ2H'
versionNumber = mod_version
versionName = "NeoForge ${minecraft_version}"
uploadFile = tasks.jarJar
changelog = rootProject.file("changelog.txt").text
gameVersions = [minecraft_version]
loaders = ['neoforge']
//https://github.com/modrinth/minotaur#available-properties
}

task publishToCurseForge(type: net.darkhax.curseforgegradle.TaskPublishCurseForge) {
group = "publishing"
apiToken = System.getenv("curseforge.apitoken") ?: "Invalid/No API Token Found"

def mainFile = upload(388172, tasks.jarJar)
mainFile.releaseType = "release"
mainFile.addModLoader("NeoForge")
mainFile.addGameVersion(minecraft_version)
mainFile.addJavaVersion("Java 17")
mainFile.changelog = rootProject.file("changelog.txt").text

//https://github.com/Darkhax/CurseForgeGradle#available-properties
}

tasks.withType(JavaCompile).configureEach {
options.encoding = 'UTF-8'
}
Expand Down
Loading