Remove unused lines
This commit is contained in:
		| @ -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 | ||||
|  | ||||
							
								
								
									
										28
									
								
								build.gradle
									
									
									
									
									
								
							
							
						
						
									
										28
									
								
								build.gradle
									
									
									
									
									
								
							| @ -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 { | ||||
|  | ||||
| @ -4,6 +4,10 @@ pluginManagement { | ||||
|             name = 'Fabric' | ||||
|             url = 'https://maven.fabricmc.net/' | ||||
|         } | ||||
|         maven { | ||||
|             name = 'Quilt' | ||||
|             url = 'https://maven.quiltmc.org/repository/release' | ||||
|         } | ||||
|         gradlePluginPortal() | ||||
|     } | ||||
| } | ||||
|  | ||||
| @ -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; | ||||
|  | ||||
		Reference in New Issue
	
	Block a user