w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Add Jpa Metamodel generated files using Gradle idea plugin to Intellij Idea sources

Depending on how you want the generated source files to be compiled, the solution may be as simple as adding the source files to the main source set:

sourceSets.main.java.srcDir "build/generated-files" // adapt as

Additionally, compileJava will need to depend on the task that generates the sources.

© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.