diff --git a/build.gradle.kts b/build.gradle.kts index 90f14d9..a831f3c 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -31,6 +31,7 @@ subprojects { tasks { withType(ShadowJar::class) { this.configurations = listOf(shadowC) } val shrinkJar = register("shrinkJar", proguard.gradle.ProGuardTask::class) { + val dictionariesDir = "$rootDir/obfuscation" injars(this@tasks.getByName("remapJar")) outjars("$rootDir/shrinkedJars/") keep("class fr.username404.snowygui.mixins.* { * ; }") @@ -38,6 +39,8 @@ subprojects { keep("class fr.username404.snowygui.forge.** { * ; }") keepclassmembers("class fr.username404.snowygui.** { public protected ; }") keepattributes(); keepdirectories(); keeppackagenames(); keepparameternames() + obfuscationdictionary("$dictionariesDir/dictionary.txt") + classobfuscationdictionary("$dictionariesDir/classdictionary.txt") adaptclassstrings() dontwarn("fr.username404.**") dontwarn("java.**") // Needed for the current version of proguard diff --git a/obfuscation/classdictionary.txt b/obfuscation/classdictionary.txt new file mode 100644 index 0000000..33f8a9b --- /dev/null +++ b/obfuscation/classdictionary.txt @@ -0,0 +1,175 @@ +CKQZ6 +NEZQW +6TWNC +VIOLA +KGEHO +ZXH6Q +348PA +434QI +59I4K +ZLRUE +GE4VU +HJEFV +6F688 +AX7XK +SQCD9 +T7OO3 +AVC56 +UYNOB +U3QN9 +J3ZQD +USC8M +HIQS3 +N6VN7 +PLSFU +SV8DF +IQRJ7 +QGI9A +FUJBQ +JRLA8 +X69WU +COPZE +H8SA7 +5D3UT +V69ND +EM47A +Z6G9B +4QNQY +KPE9R +MUN4M +8MVSB +I6MIP +CFGY8 +SYIG5 +3MYL8 +UUVL4 +B5UDG +NYKWR +A3HOA +DCXXA +JZDV4 +AWJZE +JXATD +5HQ8C +6DEC3 +JAD65 +MDQ8U +MZVGI +6BFWN +MFOCK +TCMCB +8XDH6 +ZHI4F +6QE5E +HHE7Z +NGOWG +ABKLY +TC3FY +T5VEO +B9K43 +T4RVY +HTKZF +BVAOZ +QRF5V +OBMHV +Z3ZLV +LO9H7 +JHJLT +34I4N +AHZ9T +DVWZK +AOM9L +CG84M +VB5KI +LZYLQ +RYXIQ +SSRJQ +3JSGS +5J4AB +GHX8A +YBMNW +DTEEA +7AUAE +RQPNX +E6PVA +STSXL +4BTQA +JRC8G +8ILK9 +BUEJZ +A6GWQ +A5LVR +VJBZA +FUVC8 +DZP3K +C5F9P +3UMSN +X4BU3 +66XS9 +N9DCO +MKF59 +WJZCL +FU336 +5GQZI +IPGPL +BRQLL +9HKLJ +78SIX +7CWCV +4O9HM +PLAGL +DET8E +3ICQZ +5CB5Z +DCIOC +IZQ4G +EVVIN +X69TY +HPHT6 +HDLSC +SI4AR +4TDF6 +MYYVP +BQSVY +XID8Y +G5JCM +IGOUM +CO4TI +IU4DH +DI9RZ +54T8N +HOSWZ +M75CH +ZTBLN +GVW8N +ASEIF +YXNFX +4ZPN8 +MG6MY +YEFBA +QOFLQ +58QLF +B86U3 +7KUUQ +SJTF4 +3C54T +PMMM6 +YPWDQ +FHLSP +UPODY +DVO7M +DL3TB +NMVSZ +QPKZ7 +JNQ4O +VYOAK +DOFJB +XMSB9 +MOVRI +47K3H +Y3EB5 +A3J5N +4PFRM +3NRRQ +W3LHP +63GL3 diff --git a/obfuscation/dictionary.txt b/obfuscation/dictionary.txt new file mode 100644 index 0000000..e963926 --- /dev/null +++ b/obfuscation/dictionary.txt @@ -0,0 +1,175 @@ +5nntx +8qwy6 +y787w +myn8u +ss6yo +yl6vn +w48rq +y4nx4 +786l5 +umw6p +wxoo5 +sw44s +6pv6y +mvusp +5t4rr +llxp4 +v8v6l +xr7lu +q848m +povwy +lwm5m +swqov +uvos5 +8n8ty +74qpp +ru47w +sxym8 +5n7o8 +54u5v +u5ysx +n87lo +mvrmy +l86lw +lsvnt +xx8tm +864ns +yt6ol +76lux +6ml8q +sn4m8 +rlpov +qp5ys +xrrrt +qnnry +8qowy +o76po +855ym +8tlt8 +qs5vq +lspn4 +vvt6o +7p4t5 +mtlsp +p8xp4 +myprl +rpmo5 +lq5mv +xoysq +wu4xs +xour5 +ox4ps +t7uou +5yoo8 +o7qoo +6vlrt +m7uvs +4yno7 +q66mm +wo4ts +luosn +rr6r4 +rwprt +wrp7r +ulw8t +5wv6v +6vyl5 +tvo7l +5novs +4u7yu +rlslo +w84p8 +wys7u +uw6ql +qq5s4 +tlmtx +tul67 +tpuuu +78xqq +unp5q +m6v7w +86wvy +p6rxq +o7mmp +tntr5 +vu44o +t4548 +mtmly +uw4qq +m6opv +65wmn +6pqo8 +4wuwt +rnut8 +ptqw5 +67675 +u68pp +yw4ww +lqx5t +r44mo +44ysq +ololx +lryus +8lu78 +8vovq +uuyx5 +puo58 +5p5s8 +v44m6 +nqq8u +mpsmw +vylnu +qxql8 +x7q8n +8xu4r +4w5ut +x5spm +rvwpr +lu4y4 +6l84y +m48uq +r7ry6 +ttutr +uwnu7 +lm5yw +t78qp +m5mmw +sn5wr +towst +mtyuy +n8m6v +xx6mx +ysuxn +7mo75 +8t7q6 +64oqo +wot87 +y7llq +tory8 +ynvq7 +uvq5v +q86ts +rsxvt +t67qp +w88s6 +ro4yr +wnvux +vmwwm +uytqw +8my6x +urrtn +x4wtq +5vuqt +ltwo7 +8n7o6 +v8m55 +q7m8n +lmv8l +tu4xw +spwmp +uyqst +qnoo4 +ln5wr +nvllm +r5y58 +wown4