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

apache - Cloudflare bug random 302 redirections -

java - Sql binding in Spring throws org.skife.jdbi.v2.exceptions.UnableToExecuteStatementException -