GregTechCEu / Buildscripts

Shared buildscripts and templates for 1.12.2 Minecraft mods
MIT License
26 stars 10 forks source link

Can't use "useSrcApiPath" #95

Closed sysnote8main closed 3 months ago

sysnote8main commented 7 months ago

What's happened

I want to use "src/main/java/com/myname/mymodid/api" as apiPackage. I followed below comments https://github.com/GregTechCEu/Buildscripts/blob/97d9314818fabeb6b2ac34c158c45def4aafba02/gradle.properties#L46 I didn't set useSrcApiPath as true but buildscripts tried to use "src/api/java/" directory as apiPackage.

How to fix

Please fix at https://github.com/GregTechCEu/Buildscripts/blob/97d9314818fabeb6b2ac34c158c45def4aafba02/build.gradle#L110 Replace useSrcApiPath to useSrcApiPath.toBoolean()

sysnote8main commented 3 months ago

96 Merged