when trying to run a cuba project in a ci environment, there is an input prompt that the license agreement should be accepted - which lets the build fail:
[ant:input] ================================================================ [ant:input] Do you accept the terms of CUBA license agreement [ant:input] published at http://www.cuba-platform.com/license ? [ant:input] (Y - yes, N - no) [ant:input] ================================================================ [ant:input] :app-core:assemble FAILED FAILURE: Build failed with an exception. * What went wrong: 1 warning :app-core:compileGroovywarning: Supported source version 'RELEASE_6' from annotation processor 'org.apache.openjpa.persistence.meta.AnnotationProcessor6' less than -source '1.7' 1 warning :app-core:processResources UP-TO-DATE :app-core:classes :app-core:jar :app-core:sourceJar UP-TO-DATE :app-core:assemble [ant:input] Execution failed for task ':app-core:assemble'. > No such property: licenseAgreement for class: org.gradle.api.internal.project.DefaultAntBuilder * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. BUILD FAILED Total time: 9.76 secs
Do you guys know about any flag that tells gradle to auto answer these kind of user inputs? I did not find a lot about this in the net, only some strage SO entries:
where i’m not really aware of how to get this going with gradle (because the answers are for plain ant)?
You probably solved this issue aready for a ci env, right?
a little hint would be great.