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

ruby - How do I merge two hashes into a hash of arrays? -

c++ - Do gcc's __float128 floating point numbers take the current rounding mode into account? -