Dominaezzz
01/28/2019, 8:17 PMNikky
01/28/2019, 8:20 PMDominaezzz
01/28/2019, 8:23 PMNikky
01/28/2019, 8:24 PMbuild/generated-src/main/kotlin
and register it as source rootDominaezzz
01/28/2019, 8:25 PMNikky
01/28/2019, 8:26 PMbuildSrc
and use it to generate the libraryDominaezzz
01/28/2019, 8:27 PMNikky
01/28/2019, 8:28 PMDominaezzz
01/28/2019, 8:29 PMNikky
01/28/2019, 8:29 PMDominaezzz
01/28/2019, 8:29 PMNikky
01/28/2019, 8:31 PMDominaezzz
01/28/2019, 8:35 PMNikky
01/28/2019, 9:34 PMbuildSrc/someSubProject
Dominaezzz
01/28/2019, 9:36 PMkgl-opengl
subproject that'll depend on the plugin in buildSrc.Nikky
01/28/2019, 9:37 PMDominaezzz
01/28/2019, 9:38 PMNikky
01/28/2019, 9:38 PMDominaezzz
01/28/2019, 9:40 PMNikky
01/28/2019, 9:40 PMDominaezzz
01/28/2019, 9:41 PMNikky
01/28/2019, 9:42 PMDominaezzz
01/28/2019, 9:43 PMNikky
01/28/2019, 9:44 PMThe directory buildSrc is treated as an included build. Upon discovery of the directory, Gradle automatically compiles and tests this code and puts it in the classpath of your build script
Dominaezzz
01/28/2019, 9:46 PMNikky
01/28/2019, 9:46 PMDominaezzz
01/28/2019, 9:47 PMNikky
01/28/2019, 9:48 PMwhen
switch in buildSrcapplication { mainClass = ".." }
Dominaezzz
01/28/2019, 9:50 PMNikky
01/28/2019, 9:50 PMhttps://i.imgur.com/9k6jp8p.png▾
Dominaezzz
01/28/2019, 9:52 PMNikky
01/28/2019, 9:56 PMDominaezzz
01/30/2019, 9:46 PMNikky
01/30/2019, 11:34 PMjvmMainClasses
, jsMainClasses
and whatever native uses are dependent on them
its not a problem to set up, i am just not sure how its gonna be
and i am on a linux laptop so the windows mingw stuff is not being set up for me i thinkTarget 'mingw' for platform mingw_x64 is ignored during build on this linux_x64 machine. You can build it with a mingw_x64 host.