From a30e7dbd6234fe359d64eba814e05059bc431701 Mon Sep 17 00:00:00 2001 From: fabianterhorst Date: Thu, 9 Jun 2016 16:40:16 +0200 Subject: [PATCH] add support for all gradle versions --- .../io/fabianterhorst/fastlayout/gradle/Fastlayout.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fastlayout-gradle-plugin/src/main/groovy/io/fabianterhorst/fastlayout/gradle/Fastlayout.groovy b/fastlayout-gradle-plugin/src/main/groovy/io/fabianterhorst/fastlayout/gradle/Fastlayout.groovy index 13a655d..8c1efb7 100644 --- a/fastlayout-gradle-plugin/src/main/groovy/io/fabianterhorst/fastlayout/gradle/Fastlayout.groovy +++ b/fastlayout-gradle-plugin/src/main/groovy/io/fabianterhorst/fastlayout/gradle/Fastlayout.groovy @@ -19,9 +19,9 @@ class FastLayout implements Plugin { throw new GradleException("'com.android.application' or 'com.android.library' plugin required.") } - if (!isTransformAvailable()) { + /*if (!isTransformAvailable()) { throw new GradleException('FastLayout gradle plugin only supports android gradle plugin 1.5.0 or later.') - } + }*/ def isKotlinProject = project.plugins.find { it.getClass().name == 'org.jetbrains.kotlin.gradle.plugin.KotlinAndroidPluginWrapper'