java - How to access generated classes in build folder of Gradle project from src folder in Intellij -


i generated classes wsdl file in build folder of gradle project in intellij. have compilation errors when try create object generated classes. because obvious cannot give reference in src folder classes outside of src folder. how can this?

edit-1: project has root module has 2 inner modules placed on src folder of root module. "gen" class has generated classes , want use them in "main" module in src folder. but, how? enter image description here

edit-2: peter's recommendation, sharing print screen. cannot reach outside of src folder! enter image description here

go project structure (ctrl+alt+shift+s or file->project structure), select module , select module of concern.

then click sources tab , turn generation folder source code folder. there row of buttons: mark as:mark folder source folder

i expect build folder marked excluded can have source folder inside excluded folder.


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -