Skip to content

Commit 593774a

Browse files
committed
Clean build script
1 parent d4d4f64 commit 593774a

File tree

3 files changed

+8
-11
lines changed

3 files changed

+8
-11
lines changed

build.gradle.kts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,6 @@ base.archivesName = modId
6262

6363
repositories {
6464
mavenLocal() // Allow the use of local repositories
65-
maven("https://maven.shedaniel.me/") // Architectury
66-
maven("https://maven.terraformersmc.com/releases/")
6765
maven("https://maven.2b2t.vc/releases") // Baritone
6866
maven("https://jitpack.io") // KDiscordIPC
6967
maven("https://raw.githubusercontent.com/kotlin-graphics/mary/master")
@@ -106,7 +104,7 @@ loom {
106104
property("mixin.debug.export", "true")
107105

108106
vmArgs("-XX:+HeapDumpOnOutOfMemoryError", "-XX:+CreateCoredumpOnCrash", "-XX:+UseOSErrorReporting")
109-
programArgs("--username", "Steve", "--uuid", "8667ba71b85a4004af54457a9734eed7", "--accessToken", "****", "--userType", "msa")
107+
programArgs("--username", "Steve", "--uuid", "8667ba71b85a4004af54457a9734eed7", "--accessToken", "<TOKEN>")
110108
}
111109
}
112110
}
@@ -198,12 +196,14 @@ tasks {
198196
}
199197

200198
processResources {
201-
filesMatching(targets) { expand(replacements) }
199+
inputs.properties(replacements)
202200

203-
// Forces the task to always run
204-
outputs.upToDateWhen { false }
201+
filesMatching(targets) {
202+
expand(replacements)
203+
}
205204
}
206205

206+
// Visual debugger for OpenGL
207207
register<Exec>("renderDoc") {
208208
// You need renderdoc installed on your system and available in your environment variables in order
209209
// to use this task.

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@
1919
modId=lambda
2020
modName=Lambda
2121
modVersion=1.0.0
22-
modDescription=Minecraft utility mod coded in Kotlin
22+
modDescription=Minecraft utility mod for automation
2323
modIcon=assets/lambda/lambda.png
2424
mavenGroup=com.lambda
25-
modAuthors=Avanatiker, Blade, beanbag44, Edouard127
25+
modAuthors=Constructor (Avanatiker), Blade, beanbag44, Edouard127
2626

2727
# General
2828
minecraftVersion=1.21.5

settings.gradle.kts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,7 @@ rootProject.name = "Lambda"
1919

2020
pluginManagement {
2121
repositories {
22-
maven("https://maven.neoforged.net/releases/")
23-
maven("https://maven.minecraftforge.net/")
2422
maven("https://maven.fabricmc.net/")
25-
maven("https://maven.architectury.dev/")
2623
maven("https://jitpack.io")
2724
mavenCentral()
2825
gradlePluginPortal()

0 commit comments

Comments
 (0)