diff --git a/build.gradle b/build.gradle index dad81ba..09f5897 100644 --- a/build.gradle +++ b/build.gradle @@ -7,15 +7,19 @@ buildscript { repositories { google() jcenter() + gradlePluginPortal() } dependencies { classpath 'com.android.tools.build:gradle:3.5.1' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath 'digital.wup:android-maven-publish:3.6.2' + classpath 'com.github.plnice:canidropjetifier:0.5' } } +apply plugin: 'com.github.plnice.canidropjetifier' + allprojects { repositories { google() diff --git a/gradle.properties b/gradle.properties index 8de5058..ddce0b6 100644 --- a/gradle.properties +++ b/gradle.properties @@ -6,10 +6,11 @@ # http://www.gradle.org/docs/current/userguide/build_environment.html # Specifies the JVM arguments used for the daemon process. # The setting is particularly useful for tweaking memory settings. -android.enableJetifier=true -android.useAndroidX=true org.gradle.jvmargs=-Xmx1536m # When configured, Gradle will run in incubating parallel mode. # This option should only be used with decoupled projects. More details, visit # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects # org.gradle.parallel=true + +android.enableJetifier=false +android.useAndroidX=true diff --git a/widget-cardbutton/build.gradle b/widget-cardbutton/build.gradle index b69a5d2..bbd1763 100644 --- a/widget-cardbutton/build.gradle +++ b/widget-cardbutton/build.gradle @@ -29,7 +29,7 @@ dependencies { implementation 'androidx.annotation:annotation:1.0.2' - api 'net.xpece.android:widget-cardbutton:26.0.0-8' + api 'net.xpece.android:cardbutton:1.0.0' testImplementation 'junit:junit:4.12' testImplementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"