Commit Graph

214 Commits

Author SHA1 Message Date
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
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 8a1aa2680d
Update loom for full gradle 7 support 2021-04-13 10:50:56 +02:00
Username404-59 51662011b8
Don't process .ttf files. 2021-04-09 12:23:31 +02:00
Username404-59 4b8c4ae165
Call the minimize method correctly. 2021-04-08 21:55:01 +02:00
Username404-59 9a85f79695
Exclude mixins from minification 2021-04-08 21:50:20 +02:00
Username404-59 5cc170a3dd
Minimize the shadowed dependencies 2021-04-08 21:47:24 +02:00
Username404-59 47b9220ade
Process files that are not .png ones only to fix the mods.toml version field. 2021-04-08 20:32:07 +02:00
Username404-59 95af7d7cb8
Update forge, and fix "duplicate content roots" warnings from IntelliJ. 2021-04-08 17:31:47 +02:00
Username404-59 4d9cb45478
Include the common mod resources in the subprojects. 2021-04-08 16:22:38 +02:00
Username404-59 17b07458f8
Only process .json and .toml files in the ProcessResources gradle task. 2021-04-08 15:48:07 +02:00
Username404-59 fc59271dba
Don't disable the jar task, else every build will fail. 2021-04-08 15:04:05 +02:00
Username404-59 2b785ee9a2
Add a Jenkinsfile and a few other things 2021-04-08 14:13:37 +02:00
Username404-59 184d1f7f8f
Specify the mappings dependency only in the root project, and don't shadow every dependency. 2021-04-08 13:23:45 +02:00
Username404-59 3ff24b89eb
Configure the shadow plugin AFTER applying it. 2021-04-08 12:57:08 +02:00
Username404-59 3439da3e6b
Use a shadowC configuration, make an info window instead of an "installer", and include fabric-resource-loader-v0. 2021-04-08 12:55:20 +02:00
Username404-59 1c22266d7c
Add a package for the installer 2021-04-08 11:45:30 +02:00
Username404-59 d4198589e4
Fully target Java 8. 2021-04-08 11:35:51 +02:00
Username404-59 f0fe913d7c
Add mod information files for fabric and forge. 2021-04-08 10:52:22 +02:00
Username404-59 892e01df21
Fix a relocate statement 2021-04-08 10:22:48 +02:00
Username404-59 08f0a50a55
Initial commit. 2021-04-08 10:18:46 +02:00