Commit Graph

100 Commits

Author SHA1 Message Date
Username404-59 80953b84c6
Obfuscate packages and parameter names too in the shrinkJar task 2021-04-17 18:48:28 +02:00
Username404-59 3910a8e4eb
Add something to the gradlew parameters in the Jenkinsfile 2021-04-17 15:51:55 +02:00
Username404-59 1195c3f68d
Add gradle scans in the Jenkinsfile 2021-04-17 15:40:26 +02:00
Username404-59 f8892fe01b
Delete the jar directories in the gradle clean task. 2021-04-17 15:22:57 +02:00
Username404-59 c063b9a5b2
Don't remove the generated .zip files in the Jenkinsfile 2021-04-17 15:17:10 +02:00
Username404-59 dc65bd45ae
Don't keep all attributes in the shrinked .jar files 2021-04-17 15:15:15 +02:00
Username404-59 bdddec5cc8
Move the libraryjars method calls in the proguard task. 2021-04-17 14:54:24 +02:00
Username404-59 d47de62bfa
Fix the shrinkJar task 2021-04-17 14:46:37 +02:00
Username404-59 dac1294ee3
Add a configuration made using the config4k library 2021-04-16 22:44:03 +02:00
Username404-59 8651c34ed7
Remove the generated .zip file before building in the Jenkinsfile. 2021-04-16 13:36:30 +02:00
Username404-59 3813476a52
Clean before building in the Jenkinsfile 2021-04-16 13:32:46 +02:00
Username404-59 a72cbeaaf0
Publish unoptimized .jar files in the Jenkinsfile. 2021-04-16 13:19:04 +02:00
Username404-59 7c0fe6119a
Remove architectury's injectables. 2021-04-16 13:10:39 +02:00
Username404-59 70b0772517
Revert "Replace VertexConsumer.colorEnd() with a new ColoredElement.setColor() method."
This reverts commit a9825ac5ccdbdd5c17d7937e87d15c288fa562e3.
2021-04-15 22:08:25 +02:00
Username404-59 d978898fe2
Shorten the publishToModrinth task a bit by removing a with() and use the addFile method 2021-04-15 21:08:21 +02:00
Username404-59 20fc1fd80d
Downgrade the fabric-resource-loader version to support versions older than 1.16.2 on fabric and add the minotaur plugin to publish to modrinth in the future 2021-04-15 17:17:49 +02:00
Username404-59 09168d1c23
Replace VertexConsumer.colorEnd() with a new ColoredElement.setColor() method. 2021-04-15 14:00:02 +02:00
Username404-59 39d00c4ecd
Remove a deprecated option used by kotlin compilation tasks 2021-04-15 12:26:40 +02:00
Username404-59 fb787b3be2
Don't print proguard info about the packages under fr.username404. 2021-04-15 12:09:08 +02:00
Username404-59 701c299576
Fix how the two kotlin compiler arguments are added 2021-04-15 11:06:15 +02:00
Username404-59 86b1640c78
Update kotlin and enable a compiler mode for better lambdas 2021-04-15 10:59:29 +02:00
Username404-59 e4d5230257
Add proguard obfuscation dictionaries. 2021-04-14 20:36:05 +02:00
Username404-59 f609967006
Fix methods being deleted by proguard 2021-04-14 19:33:33 +02:00
Username404-59 f8ddd825ac
Optimize the shrinked jars and obfuscate them 2021-04-14 18:05:20 +02:00
Username404-59 3af606ce79
Remove the Main-Class attribute of .jar files. 2021-04-14 14:35:52 +02:00
Username404-59 b5fe315810
Remove a few line in the main build.gradle.kts file 2021-04-14 14:34:45 +02:00
Username404-59 cf75e7be39
Use proguard to shrink the produced .jar files, and completely remove the exec package + the bundled font. 2021-04-14 13:56:34 +02:00
Username404-59 492db81bb4
Correctly add arguments to the runClient configuration on forge 2021-04-13 14:43:41 +02:00
Username404-59 4a470ee779
Use readBytes instead of readAllBytes in info.kt 2021-04-13 12:49:03 +02:00
Username404-59 8a1aa2680d
Update loom for full gradle 7 support 2021-04-13 10:50:56 +02:00
Username404-59 6f5ef9dace
Revert "Add a try and catch in the render function of ClickBox.kt."
This reverts commit 56896651a3622194660d57c733ab55be841b56b8.
2021-04-13 10:48:37 +02:00
Username404-59 5df5199098
Add a try and catch in the Element.display() method, and add an element to render a background in the config screen 2021-04-13 10:48:33 +02:00
Username404-59 ad3fb8be7a
Add a try and catch in the render function of ClickBox.kt. 2021-04-12 23:44:15 +02:00
Username404-59 25a37898ad
Lower the required forge version 2021-04-12 22:58:55 +02:00
Username404-59 e087f1d1b8
Don't set a specific build for the fabricloader dependency in fabric.mod.json. 2021-04-12 22:45:12 +02:00
Username404-59 94c9db4f2a
Update fabric-loader to the 0.11.3 version. 2021-04-12 22:36:01 +02:00
Username404-59 7fb51e9f23
Update the bundled fabric resource loader and modmenu 2021-04-12 22:32:13 +02:00
Username404-59 7f916d82bb
Add (buggy) movement of components in the ClickGui class. 2021-04-12 15:06:35 +02:00
Username404-59 c06535047c
Don't multiply the full height in ClickBox.kt 2021-04-11 20:12:32 +02:00
Username404-59 941a6143c0
Move a few dependencies from the "recommends" category to the "suggests" one in the fabric.mod.json file 2021-04-11 13:32:54 +02:00
Username404-59 31bb7be602
Add a colorEnd() method to the companion object of ColoredElement, render more things in the ClickBox class and edit en_us.json 2021-04-11 12:23:53 +02:00
Username404-59 f3d291e180
Test if the poseStack argument in the render method of ClickBox.kt is null. 2021-04-11 09:39:38 +02:00
Username404-59 1ce635dbcf
Add a new ClickBox and don't add 10 to the x and y coordinates. 2021-04-10 21:22:19 +02:00
Username404-59 0bbf7a00ff
Woops, use a value of 1.5 instead. 2021-04-10 19:36:55 +02:00
Username404-59 37376fdc6a
Fix the Y axis of the rendered strings. 2021-04-10 19:35:59 +02:00
Username404-59 3636c74851
Rename Box to ClickBox, make a ColoredElement class, draw strings and add more translations 2021-04-10 19:17:46 +02:00
Username404-59 029382c9b5
Name the companion object of Element and rename BaseColor to TransparentColor. 2021-04-10 15:34:30 +02:00
Username404-59 bf5c276178
Add a companion object to Element.kt and remove the rendering package 2021-04-10 15:17:05 +02:00
Username404-59 c50ce0696f
Remove an useless part of the Util object, and add a poseStack argument to the render function of the Renderable interface. 2021-04-10 15:03:23 +02:00
Username404-59 03f2963486
Add GUI utils. 2021-04-10 14:41:42 +02:00