plugins Ġ{ ĊĠĠĠ Ġid (" fabric - loom ") Ġversion Ġ" 0 . 1 0 . 2 7 " ĊĠĠĠ Ġ` maven - publish ` ĊĠĠĠ Ġid (" io . github . ju ux el . loom - qu ilt flower ") Ġversion Ġ" 1 . 3 . 0 " Ċ } Ċ Ċ version Ġ= Ġ"${ project . property (" mod _ version ") }" Ċ group Ġ= Ġ"${ project . property (" maven _ group ") }" Ċ Ċ repositories Ġ{ ĊĠĠĠ Ġmaven (" https :// lad ys n ake . jfrog . io / art ifactory / mods ") Ġ{ ĊĠĠĠĠĠĠĠ Ġname Ġ= Ġ" Card inal ĠComponents " ĊĠĠĠ Ġ} ĊĠĠĠ Ġmaven (" https :// dl . cloud smith . io / public / ge ck ol ib 3 / ge ck ol ib / maven /") Ġ{ ĊĠĠĠĠĠĠĠ Ġname Ġ= Ġ" Ge cko Lib " ĊĠĠĠ Ġ} ĊĠĠĠ Ġmaven (" https :// maven . s hed an iel . me ") Ġ{ ĊĠĠĠĠĠĠĠ Ġname Ġ= Ġ" R ough ly ĠEn ough ĠItems " ĊĠĠĠ Ġ} ĊĠĠĠ Ġmaven (" https :// maven . bl ame j ared . com ") Ġ{ ĊĠĠĠĠĠĠĠ Ġname Ġ= Ġ" Patch oul i " ĊĠĠĠ Ġ} ĊĠĠĠ Ġmaven (" https :// jit pack . io ") Ġ{ ĊĠĠĠĠĠĠĠ Ġname Ġ= Ġ" J it Pack " ĊĠĠĠ Ġ} ĊĠĠĠ Ġmaven (" https :// server . bb kr . space / art ifactory / libs - release ") Ġ{ ĊĠĠĠĠĠĠĠ Ġname Ġ= Ġ" Lib Gui " ĊĠĠĠĠĠĠĠ Ġcontent Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġinclude Group (" io . github . cot ton mc ") ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ } Ċ Ċ val Ġmod Include : ĠConfiguration Ġby Ġconfigurations . creating Ċ configurations Ġ{ ĊĠĠĠ Ġinclude . get (). extends From ( mod Include ) ĊĠĠĠ Ġmod Implementation . get (). extends From ( mod Include ) Ċ } Ċ Ċ dependencies Ġ{ ĊĠĠĠ Ġm inecraft (" com . moj ang : minecraft :${ project . property (" minecraft _ version ") }") ĊĠĠĠ Ġmappings (" net . fabric mc : yarn :${ project . property (" yarn _ mappings ") }: v 2 ") ĊĠĠĠ Ġmod Implementation (" net . fabric mc : fabric - loader :${ project . property (" loader _ version ") }") ĊĊĠĠĠ Ġ// Fabric ĠAPI ĊĠĠĠ Ġmod Implementation (" net . fabric mc . fabric - api : fabric - api :${ project . property (" fabric _ version ") }") ĊĊĠĠĠ Ġ// CCA ĊĠĠĠ Ġmod Api (" io . github . ony x stud ios . Card inal - Components - API : card inal - components - base :${ project . property (" cc _ version ") }") ĊĠĠĠ Ġinclude (" io . github . ony x stud ios . Card inal - Components - API : card inal - components - base :${ project . property (" cc _ version ") }") ĊĠĠĠ Ġmod Include (" io . github . ony x stud ios . Card inal - Components - API : card inal - components - entity :${ project . property (" cc _ version ") }") ĊĠĠĠ Ġmod Include (" io . github . ony x stud ios . Card inal - Components - API : card inal - components - world :${ project . property (" cc _ version ") }") ĊĠĠĠ Ġmod Include (" io . github . ony x stud ios . Card inal - Components - API : card inal - components - item :${ project . property (" cc _ version ") }") ĊĊĠĠĠ Ġ// Ge ck ol ib ĊĠĠĠ Ġmod Implementation (" software . bern ie . ge ck ol ib : ge ck ol ib - fabric -${ project . property (" ge cko _ version ") }") ĊĊĠĠĠ Ġ// Patch oul i ĊĠĠĠ Ġmod Implementation (" v az k ii . patch oul i : Patch oul i :${ project . property (" patch oul i _ version ") }") ĊĊĠĠĠ Ġ// RE I ĊĠĠĠ Ġmod Compile Only (" me . s hed an iel : R ough ly En ough Items - api - fabric :${ project . property (" rei _ version ") }") ĊĠĠĠ Ġmod Runtime Only (" me . s hed an iel : R ough ly En ough Items - fabric :${ project . property (" rei _ version ") }") ĊĊĠĠĠ Ġinclude ( mod Implementation (" io . github . cot ton mc : Lib Gui :${ project . property (" lib gui _ version ") }") !! ) ĊĊĠĠĠ Ġmod Api (" com . github . G iant Lu igi 4 : Shader Util : 4 b 7 9 bb 7 9 b 5 ") ĊĠĠĠ Ġinclude (" com . github . G iant Lu igi 4 : Shader Util : 4 b 7 9 bb 7 9 b 5 ") Ċ } Ċ Ċ loom Ġ{ ĊĠĠĠ Ġaccess W id ener Path . set ( file (" src / main / resources / ter raf abric raft . aw ")) Ċ } Ċ Ċ val Ġtarget Java Version Ġ= Ġ 1 6 Ċ Ċ tasks Ġ{ ĊĠĠĠ Ġprocess Resources Ġ{ ĊĠĠĠĠĠĠĠ Ġinputs . property (" version ", Ġproject . version ) ĊĠĠĠĠĠĠĠ Ġfiltering Charset Ġ= Ġ" UTF - 8 " ĊĊĠĠĠĠĠĠĠ Ġfiles Matching (" fabric . mod . json ") Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġexpand (" version " Ġto Ġproject . version ) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġwith Type < Java Compile > Ġ{ ĊĠĠĠĠĠĠĠ Ġoptions . encoding Ġ= Ġ" UTF - 8 " ĊĠĠĠĠĠĠĠ Ġif Ġ( target Java Version Ġ>= Ġ 1 0 Ġ|| ĠJava Version . current (). is Java 1 0 Compatible ) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġoptions . release . set ( target Java Version ) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġjava Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġjava Version Ġ= ĠJava Version . to Version ( target Java Version ) ĊĠĠĠĠĠĠĠ Ġif Ġ( Java Version . current () Ġ< Ġjava Version ) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġtoolchain . language Version . set ( Java Language Version . of ( target Java Version )) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠĠĠĠĠ Ġbase . archives Name . set ("${ project . property (" archives _ base _ name ") }") ĊĠĠĠĠĠĠĠ Ġwith Sources Jar () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġjar Ġ{ ĊĠĠĠĠĠĠĠ Ġfrom (" LICENSE ") Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġrename Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ"${ it }_${ project . base . archives Name }" ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ} ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ } Ċ Ċ publishing Ġ{ ĊĠĠĠ Ġrepositories Ġ{ ĊĠĠĠĠĠĠĠ Ġmaven Ġ{ ĊĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} ĊĠĠĠ Ġpublications Ġ{ ĊĠĠĠĠĠĠĠ Ġregister < Maven Publication >(" maven Java ") Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġfrom ( components [" java "]) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ }