Commit Graph

72 Commits

Author SHA1 Message Date
Username404-59 f72acaaf9a
Only add the kotlin package as library jar for the proguard gradle task 2021-05-04 14:39:40 +02:00
Username404-59 5c3f606d26
Revert "Support snapshots in the mcBase variable"
This reverts commit 9e0a8fd9683a3e6b48c2d3c8de596a992a38d17f.
2021-05-03 15:24:25 +02:00
Username404-59 31d96c4dbb
Support snapshots in the mcBase variable 2021-05-03 15:20:20 +02:00
Username404-59 0bae4655f9
Add a comment to the build.gradle.kts file 2021-05-03 14:37:12 +02:00
Username404-59 aaa2366164
Downgrade kotlinx-datetime 2021-05-03 14:34:49 +02:00
Username404-59 8a03391c38
Add a kotlin_stdlib_version property to gradle.properties 2021-05-03 14:03:50 +02:00
Username404-59 c9624c9762
Use all available optimizations 2021-05-03 12:47:40 +02:00
Username404-59 9719276292
Fix kotlinx packages 2021-05-03 12:28:12 +02:00
Username404-59 481ebb1b60
Setup fabric-language-kotlin and kotlinforforge 2021-05-03 10:40:27 +02:00
Username404-59 6381b0f6ca
Enable all optimizations except object simplifications 2021-05-02 15:59:49 +02:00
Username404-59 53487c9a4d
Update proguard to 7.1.0-beta3 (and higher) and add mavenCentral to the repositories 2021-05-02 15:45:07 +02:00
Username404-59 601f1d4fd4
Set the minimum version of forgified-fabric-loom to 0.7.0.95. 2021-04-29 14:39:56 +02:00
Username404-59 91508cd1c4
Add maven-local to the repositories and use a maven-style version range for forgified-fabric-loom 2021-04-29 14:00:39 +02:00
Username404-59 61ccb4ae62
Keep forge-specific classes in the proguard gradle task 2021-04-28 21:59:57 +02:00
Username404-59 c2b87fddbc
Add kotlinx-coroutines + kotlinx-datetime, and save Configuration.obtained when it is constructed 2021-04-28 11:33:41 +02:00
Username404-59 282f873da4
Edit the version range of the architectury plugin 2021-04-27 22:20:00 +02:00
Username404-59 8ed7b55054
Shrink the packages a bit more 2021-04-27 20:40:12 +02:00
Username404-59 c19b2ce735
Flatten package hierarchy in the gradle proguard task and set the subprojects groups 2021-04-27 18:59:30 +02:00
Username404-59 b486342ce0
Call mergeinterfacesaggressively in the proguard task 2021-04-27 18:39:11 +02:00
Username404-59 f19de179b9
Remove tests from the check task dependencies 2021-04-27 16:41:23 +02:00
Username404-59 3d1f95b275
Use isJava9Compatible as a property in the root-level build.gradle.kts file 2021-04-27 10:15:11 +02:00
Username404 3a56cd3be2
Revert "Exclude a few things from the java.base.jmod dependency"
This reverts commit e84c497fc8b4919867c413730b9342c3d0d37490.
2021-04-27 03:04:06 +02:00
Username404-59 5365db200a
Exclude a few things from the java.base.jmod dependency 2021-04-27 02:49:54 +02:00
Username404-59 23633a3eeb
Support Java 9 and higher in the proguard task 2021-04-27 02:34:31 +02:00
Username404-59 b6c0988a24
Let the proguard task run on java 9+ 2021-04-27 02:25:08 +02:00
Username404-59 6f43f2de94
Remove jce.jar from the proguard task 2021-04-27 02:06:23 +02:00
Username404-59 3165dcb2a3
Update kotlin 2021-04-27 01:17:46 +02:00
Username404-59 1c6ca8b7ff
Change the version of architectury 2021-04-21 17:08:26 +02:00
Username404-59 2e3b38cf15
Clean the build script a bit 2021-04-21 16:31:32 +02:00
Username404-59 c3b7ae6e3e
Require architectury 3.0.100 or higher in the root-level build.gradle.kts 2021-04-20 22:11:22 +02:00
Username404 b7759bbd31
Fix architectury with kotlin 2021-04-20 15:03:40 +02:00
Username404 48220ec5e1
Revert "Temporarily downgrade architectury"
This reverts commit b719bf19
2021-04-20 15:01:47 +02:00
Username404-59 44b07a02ea
Temporarily downgrade architectury 2021-04-20 10:55:24 +02:00
Username404-59 6175158225
Put the base minecraft version in mod files during processing 2021-04-18 17:01:05 +02:00
Username404-59 9dbe16748f
Add a plugin to check updates. 2021-04-17 21:06:58 +02:00
Username404-59 80953b84c6
Obfuscate packages and parameter names too in the shrinkJar task 2021-04-17 18:48:28 +02:00
Username404-59 f8892fe01b
Delete the jar directories in the gradle clean task. 2021-04-17 15:22:57 +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 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 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