Based on the answer before… Consider something like
if (gradle.gradleVersion.startsWith(‘1’)) {
throw new GradleException(‘This project requires Gradle 2.0.0 or higher.’) }
Based on the answer before… Consider something like
if (gradle.gradleVersion.startsWith(‘1’)) {
throw new GradleException(‘This project requires Gradle 2.0.0 or higher.’) }