Use compiled class in a gradle build script -


i trying gradle task evaluate static field in class compiled in same build file have not found way achieve without doing stuff javaexec , have java main or groovy script output stdout (something running groovy scripts gradle). there way evaluate java or groovy expression in task , set classpath compile or runtime classpath of project? task depend on compilejava, can sure code compiled before expression evaluated.


Comments

Popular posts from this blog

Regex find and replace between <div class="customclass"> and </div> tag -

jpa - Passing entitymanager from reflection method -