diff --git a/library/build.gradle b/library/build.gradle index 830e88b..e668a8b 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -1,11 +1,17 @@ -apply plugin: 'com.android.library' +buildscript { + repositories { + mavenCentral() + } -ext { - PUBLISH_GROUP_ID = 'br.com.liveo' - PUBLISH_ARTIFACT_ID = 'searchview' - PUBLISH_VERSION = '1.0' + dependencies { + classpath 'com.github.dcendents:android-maven-gradle-plugin:2.0' + } } +apply plugin: 'com.android.library' +apply plugin: 'com.github.dcendents.android-maven' +group = 'br.com.liveo' + android { compileSdkVersion 27 @@ -49,6 +55,4 @@ android { dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'com.android.support:appcompat-v7:27.1.0' -} - -apply from: 'https://raw.githubusercontent.com/blundell/release-android-library/master/android-release-aar.gradle' \ No newline at end of file +} \ No newline at end of file