Skip to content

Commit

Permalink
Updated dependencies, metadata, icon
Browse files Browse the repository at this point in the history
  • Loading branch information
LatvianModder committed Aug 28, 2024
1 parent cb54d73 commit 9857529
Show file tree
Hide file tree
Showing 6 changed files with 46 additions and 48 deletions.
Binary file modified .lat.ci/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion .lat.ci/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"downloads": [
{
"name": "Download",
"url": "https://maven.saps.dev/releases/dev/latvian/mods/kubejs-neoforge/{version}/kubejs-neoforge-{version}.jar"
"url": "https://maven.latvian.dev/releases/dev/latvian/mods/kubejs-neoforge/{version}/kubejs-neoforge-{version}.jar"
}
]
}
82 changes: 41 additions & 41 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,11 @@ repositories {
}

maven {
url "https://maven.architectury.dev/"
name = 'ParchmentMC'
url = 'https://maven.parchmentmc.org'
content {
includeGroup "org.parchmentmc.data"
}
}

maven {
Expand All @@ -92,6 +96,10 @@ repositories {
}
}

maven {
url "https://maven.architectury.dev/"
}

maven {
url "https://maven.blamejared.com"
content {
Expand All @@ -101,14 +109,6 @@ repositories {
}
}

maven {
name = 'ParchmentMC'
url = 'https://maven.parchmentmc.org'
content {
includeGroup "org.parchmentmc.data"
}
}

maven {
name = "TerraformersMC"
url = "https://maven.terraformersmc.com/"
Expand All @@ -129,7 +129,7 @@ dependencies {
api("dev.latvian.mods:rhino:$rhino_version") { transitive(false) }

compileOnly("dev.architectury:architectury-neoforge:$architectury_version")
compileOnly("mezz.jei:jei-1.21-neoforge:$jei_version")
compileOnly("mezz.jei:jei-1.21.1-neoforge:$jei_version")
compileOnly("me.shedaniel:RoughlyEnoughItems-neoforge:$rei_version")
compileOnly("dev.emi:emi-neoforge:$emi_version:api")

Expand Down Expand Up @@ -176,6 +176,37 @@ jar {
}
}

publishing {
publications {
mavenNeoForge(MavenPublication) {
artifactId = archives_base_name
from components.java
}
}

repositories {
if (ENV.MAVEN_TOKEN) {
maven {
url "https://maven.latvian.dev/releases"
credentials {
username = "lat"
password = "${ENV.MAVEN_TOKEN}"
}
}
}

if (ENV.SAPS_TOKEN) {
maven {
url "https://maven.saps.dev/releases"
credentials {
username = "latvian"
password = "${ENV.SAPS_TOKEN}"
}
}
}
}
}

unifiedPublishing {
project {
releaseType = "${ENV.RELEASE_TYPE ?: 'release'}"
Expand Down Expand Up @@ -212,37 +243,6 @@ unifiedPublishing {
}
}

publishing {
publications {
mavenNeoForge(MavenPublication) {
artifactId = archives_base_name
from components.java
}
}

repositories {
if (ENV.MAVEN_TOKEN) {
maven {
url "https://maven.latvian.dev/releases"
credentials {
username = "lat"
password = "${ENV.MAVEN_TOKEN}"
}
}
}

if (ENV.SAPS_TOKEN) {
maven {
url "https://maven.saps.dev/releases"
credentials {
username = "latvian"
password = "${ENV.SAPS_TOKEN}"
}
}
}
}
}

afterEvaluate {
tasks.withType(JavaCompile) {
options.compilerArgs << "-Xmaxerrs" << "1000"
Expand Down
8 changes: 4 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ modrinth_id=umyGl7zF
minecraft_version=1.21.1
mod_version=2101.7.0

neoforge_version=21.1.12
neoforge_version=21.1.31
parchment_mc_version=1.21
parchment_mapping_version=2024.07.28
rhino_version=2100.2.5-build.48
tiny_server_version=1.0.0-build.6
gif_lib_version=1.7

architectury_version=13.0.6
rei_version=16.0.744
jei_version=19.5.0.47
emi_version=1.1.10+1.21
rei_version=16.0.754
jei_version=19.14.1.143
emi_version=1.1.12+1.21
2 changes: 0 additions & 2 deletions src/main/resources/META-INF/neoforge.mods.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,8 @@ description = '''
Customize your modpack or server with JavaScript!
'''
logoFile = "kubejs_logo.png"
license = "GNU LGPLv3"
modUrl = "https://kubejs.com"
displayURL = "https://kubejs.com"
displayTest = "NONE"

[[dependencies.kubejs]]
modId = "neoforge"
Expand Down
Binary file modified src/main/resources/kubejs_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9857529

Please sign in to comment.