From 47216ac94a143419db80cd6799f33036daa71916 Mon Sep 17 00:00:00 2001 From: Francois Campbell Date: Sun, 4 Sep 2016 11:47:58 -0400 Subject: [PATCH] Fixed lint errors --- .../io/github/francoiscampbell/circlelayout/CircleLayout.kt | 3 +-- circlelayout/src/main/res/values/strings.xml | 3 --- testapp/build.gradle | 3 +++ 3 files changed, 4 insertions(+), 5 deletions(-) delete mode 100644 circlelayout/src/main/res/values/strings.xml diff --git a/circlelayout/src/main/kotlin/io/github/francoiscampbell/circlelayout/CircleLayout.kt b/circlelayout/src/main/kotlin/io/github/francoiscampbell/circlelayout/CircleLayout.kt index e5de68e..149c97b 100644 --- a/circlelayout/src/main/kotlin/io/github/francoiscampbell/circlelayout/CircleLayout.kt +++ b/circlelayout/src/main/kotlin/io/github/francoiscampbell/circlelayout/CircleLayout.kt @@ -20,8 +20,7 @@ class CircleLayout @JvmOverloads constructor( : ViewGroup( context, attrs, - defStyleAttr, - defStyleRes + defStyleAttr ) { /** * (Optional) A fixed angle between views. diff --git a/circlelayout/src/main/res/values/strings.xml b/circlelayout/src/main/res/values/strings.xml deleted file mode 100644 index 2f32bed..0000000 --- a/circlelayout/src/main/res/values/strings.xml +++ /dev/null @@ -1,3 +0,0 @@ - - CircleLayout - diff --git a/testapp/build.gradle b/testapp/build.gradle index ffb8bdf..b06d2b8 100644 --- a/testapp/build.gradle +++ b/testapp/build.gradle @@ -22,6 +22,9 @@ android { sourceSets { main.java.srcDirs += 'src/main/kotlin' } + lintOptions { + abortOnError false + } } dependencies {