[CHORE] Fix Build Scripts and update mod publisher

This commit is contained in:
2023-09-10 12:58:49 +02:00
parent 5facb4c322
commit 6f1f460198
5 changed files with 12 additions and 28 deletions

View File

@@ -1,6 +1,6 @@
plugins {
id 'java'
id 'org.quiltmc.loom' version '0.12.+'
id 'fabric-loom' version '0.12-SNAPSHOT'
id 'maven-publish'
id 'com.github.johnrengelman.shadow' version '7.0.0'
}
@@ -8,6 +8,7 @@ plugins {
archivesBaseName = "${mod_name}-common-${minecraft_version}"
loom {
shareCaches()
accessWidenerPath = project.file("src/main/resources/craterlib.aw")
remapArchives = false
mixin {

View File

@@ -3,7 +3,7 @@ plugins {
id 'maven-publish'
id 'idea'
id 'com.github.johnrengelman.shadow' version '7.0.0'
id "me.hypherionmc.modutils.modpublisher" version "1.0.13"
id "me.hypherionmc.modutils.modpublisher" version "1.0.+"
}
archivesBaseName = "${mod_name}-fabric-${minecraft_version}"
@@ -30,6 +30,7 @@ dependencies {
}
loom {
shareCaches()
accessWidenerPath = project(":Common").file("src/main/resources/craterlib.aw")
runs {
client {

View File

@@ -1,7 +1,6 @@
buildscript {
repositories {
maven { url = 'https://maven.minecraftforge.net' }
maven { url = 'https://repo.spongepowered.org/repository/maven-public/' }
maven { url = 'https://mcentral.firstdark.dev/releases' }
mavenCentral()
}
dependencies {
@@ -11,7 +10,7 @@ buildscript {
}
plugins {
id 'com.github.johnrengelman.shadow' version '7.0.0'
id "me.hypherionmc.modutils.modpublisher" version "1.0.16"
id "me.hypherionmc.modutils.modpublisher" version "1.0.+"
}
apply plugin: 'java'
apply plugin: 'net.minecraftforge.gradle'

View File

@@ -57,16 +57,12 @@ subprojects {
repositories {
mavenCentral()
maven {
name = 'Sponge / Mixin'
url = 'https://repo.spongepowered.org/repository/maven-public/'
name = 'First Dark Maven'
url = 'https://maven.firstdark.dev/releases/'
}
maven {
name = 'Hypherion Maven'
url = 'https://maven.firstdarkdev.xyz/releases/'
}
maven {
name = "TerraformersMC Maven"
url = "https://maven.terraformersmc.com/releases"
name = 'First Dark Mirror'
url = 'https://mcentral.firstdark.dev/releases/'
}
}

View File

@@ -2,23 +2,10 @@ pluginManagement {
repositories {
gradlePluginPortal()
maven {
url "https://maven.firstdarkdev.xyz/releases"
url "https://maven.firstdark.dev/releases"
}
maven {
name = 'Fabric'
url = 'https://maven.fabricmc.net/'
}
maven {
name = 'Sponge Snapshots'
url = 'https://repo.spongepowered.org/repository/maven-public/'
}
maven {
name = 'Quilt (Release)'
url = 'https://maven.quiltmc.org/repository/release'
}
maven {
name = 'Quilt (Snapshot)'
url = 'https://maven.quiltmc.org/repository/snapshot'
url "https://mcentral.firstdark.dev/releases"
}
}
}