com.github.triplet.gradle.common.validation.RuntimeValidationPlugin.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of common-validation Show documentation
Show all versions of common-validation Show documentation
Gradle Play Publisher is a plugin that allows you to upload your App Bundle or APK and other app details to the Google Play Store.
package com.github.triplet.gradle.common.validation
import org.gradle.api.Plugin
import org.gradle.api.Project
import org.gradle.util.GradleVersion
internal class RuntimeValidationPlugin : Plugin {
override fun apply(project: Project) {
check(project === project.rootProject)
GradleRuntimeValidator(GradleVersion.current(), MIN_GRADLE_VERSION)
.validate()
}
}