update thyroxine
All checks were successful
Publish to snapshot maven / build (push) Successful in 32s

This commit is contained in:
moehreag 2024-06-16 14:40:44 +02:00
parent a42520d14f
commit b500a5dbb1
2 changed files with 11 additions and 12 deletions

View file

@ -7,7 +7,7 @@ plugins {
} }
group = "dev.frogmc" group = "dev.frogmc"
version = "0.0.1-alpha.9" version = "0.0.1-alpha.10"
repositories { repositories {
maven { maven {
@ -23,12 +23,11 @@ repositories {
} }
dependencies { dependencies {
implementation("dev.frogmc:thyroxine:0.0.1-alpha.2") implementation("dev.frogmc:thyroxine:0.0.1-alpha.3")
implementation("org.ow2.asm:asm:9.7") implementation("org.ow2.asm:asm:9.7")
implementation("com.google.code.gson:gson:2.10.1") implementation("com.google.code.gson:gson:2.10.1")
implementation("org.vineflower:vineflower:1.10.1") implementation("org.vineflower:vineflower:1.10.1")
testImplementation(kotlin("test")) testImplementation(kotlin("test"))
implementation("com.electronwill.night-config:json:3.7.2")
implementation("com.electronwill.night-config:toml:3.7.2") implementation("com.electronwill.night-config:toml:3.7.2")
implementation("com.google.jimfs:jimfs:1.3.0") implementation("com.google.jimfs:jimfs:1.3.0")
} }

View file

@ -70,9 +70,9 @@ class PhytotelmaPlugin : Plugin<Project> {
project.extensions.findByType(PhytotelmaGradleExtension::class.java) ?: return project.extensions.findByType(PhytotelmaGradleExtension::class.java) ?: return
project.task("genSources").apply { project.tasks.register("genSources") {task ->
group = Constants.TASK_GROUP task.group = Constants.TASK_GROUP
doFirst { task.actions.add {
val projectData = ProjectStorage.get(it.project) val projectData = ProjectStorage.get(it.project)
val fileName = projectData.remappedGameJarPath!!.fileName.toString() val fileName = projectData.remappedGameJarPath!!.fileName.toString()
val output = val output =
@ -118,9 +118,9 @@ class PhytotelmaPlugin : Plugin<Project> {
} }
} }
project.task(Constants.GEN_RUN_CONFIGS_TASK).apply { project.tasks.register(Constants.GEN_RUN_CONFIGS_TASK) {task ->
group = Constants.TASK_GROUP task.group = Constants.TASK_GROUP
doFirst { task.doFirst {
RunConfigGenerator.generate(project) RunConfigGenerator.generate(project)
} }
} }
@ -128,9 +128,9 @@ class PhytotelmaPlugin : Plugin<Project> {
project.tasks.register(Constants.RUN_CLIENT_TASK, RunGameTask::class.java, Env.CLIENT) project.tasks.register(Constants.RUN_CLIENT_TASK, RunGameTask::class.java, Env.CLIENT)
project.tasks.register(Constants.RUNT_SERVER_TASK, RunGameTask::class.java, Env.SERVER) project.tasks.register(Constants.RUNT_SERVER_TASK, RunGameTask::class.java, Env.SERVER)
project.task(Constants.DOWNLOAD_ASSETS_TASK).apply { project.tasks.register(Constants.DOWNLOAD_ASSETS_TASK) { task ->
group = Constants.TASK_GROUP task.group = Constants.TASK_GROUP
doFirst { task.doFirst {
AssetDownloader.download(it.project) AssetDownloader.download(it.project)
} }
} }