Fixed version typo

master
Robinson 2021-12-20 11:16:13 -07:00
parent 43dcf1ffd0
commit fc1ddc1799
No known key found for this signature in database
GPG Key ID: 8E7DB78588BD6F5C
1 changed files with 2 additions and 2 deletions

View File

@ -43,9 +43,9 @@ class GradleUtils : Plugin<Project> {
override fun apply(project: Project) {
val current = GradleVersion.current()
if (current < GradleVersion.version("7")) {
if (current < GradleVersion.version("7.0")) {
// we require v7+ of gradle to use this version of the util project.
throw GradleException("${project.name}: Gradle ${project.gradle.gradleVersion} requires Gradle 7+ to continue.")
throw GradleException("${project.name}: Gradle ${project.gradle.gradleVersion} requires Gradle 7.0+ to continue.")
}