Remove unused lines
Some checks failed
build / build (17) (push) Failing after 2m17s
build / upload-release (push) Has been skipped

This commit is contained in:
BitHeaven 2025-01-21 17:23:59 +05:00
parent 9cb8f2d356
commit d9dded9726
4 changed files with 6 additions and 29 deletions

View File

@ -39,7 +39,7 @@ jobs:
uses: gradle/wrapper-validation-action@v2
- name: Build with Gradle
run: ./gradlew build --no-daemon
run: ./gradlew clean build --no-daemon
- name: Upload Mod JAR
uses: actions/upload-artifact@v3

View File

@ -18,19 +18,7 @@ repositories {
// Loom adds the essential maven repositories to download Minecraft and libraries from automatically.
// See https://docs.gradle.org/current/userguide/declaring_repositories.html
// for more information about repositories.
maven { url = "https://maven.shedaniel.me/" } // Cloth Config, REI
maven { url = "https://maven.blamejared.com" } // JEI
maven {
name = 'ParchmentMC'
url = 'https://maven.parchmentmc.org'
}
maven {
name = 'Quilt'
url = 'https://maven.quiltmc.org/repository/release'
}
maven { url = "https://api.modrinth.com/maven" } // LazyDFU
maven { url = "https://maven.terraformersmc.com/releases/" } // Mod Menu
maven { url = "https://cursemaven.com" } // Forge Config API Port
maven { url = "https://maven.jamieswhiteshirt.com/libs-release" } // Reach Entity Attributes
maven { // Fabric ASM for Porting Lib
url = "https://jitpack.io/"
@ -54,20 +42,6 @@ repositories {
}
}
loom {
// Loom and Loader both use this block in order to gather more information about your mod.
mods {
// This should match your mod id.
"ru.bitheaven.createairfabric" {
// Tell Loom about each source set used by your mod here. This ensures that your mod's classes are properly transformed by Loader.
sourceSet("main")
// If you shade (directly include classes, not JiJ) a dependency into your mod, include it here using one of these methods:
// dependency("com.example.shadowedmod:1.2.3")
// configuration("exampleShadedConfigurationName")
}
}
}
// All the dependencies are declared at gradle/libs.version.toml and referenced with "libs.<id>"
dependencies {
minecraft libs.minecraft
@ -124,7 +98,7 @@ java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
withSourcesJar()
// withSourcesJar()
}
jar {

View File

@ -4,6 +4,10 @@ pluginManagement {
name = 'Fabric'
url = 'https://maven.fabricmc.net/'
}
maven {
name = 'Quilt'
url = 'https://maven.quiltmc.org/repository/release'
}
gradlePluginPortal()
}
}

View File

@ -4,7 +4,6 @@ import com.llamalad7.mixinextras.injector.ModifyExpressionValue;
import com.simibubi.create.content.equipment.armor.BacktankItem;
import com.simibubi.create.content.equipment.armor.BacktankUtil;
import com.simibubi.create.content.equipment.armor.DivingHelmetItem;
import earth.terrarium.adastra.common.systems.OxygenApiImpl;
import earth.terrarium.adastra.common.tags.ModItemTags;
import net.minecraft.server.level.ServerLevel;