diff --git a/build.gradle b/build.gradle index ee994f6..006f449 100644 --- a/build.gradle +++ b/build.gradle @@ -5,7 +5,7 @@ buildscript { gradlePluginPortal() } dependencies { - classpath 'com.android.tools.build:gradle:7.1.3' + classpath 'com.android.tools.build:gradle:7.2.1' classpath 'com.vanniktech:gradle-maven-publish-plugin:0.18.0' } } diff --git a/demo/build.gradle b/demo/build.gradle index 9685a49..6085ba6 100644 --- a/demo/build.gradle +++ b/demo/build.gradle @@ -34,8 +34,8 @@ android { } compileOptions { - sourceCompatibility JavaVersion.VERSION_1_7 - targetCompatibility JavaVersion.VERSION_1_7 + sourceCompatibility JavaVersion.VERSION_1_8 + targetCompatibility JavaVersion.VERSION_1_8 } lintOptions { diff --git a/library/build.gradle b/library/build.gradle index b2fc326..698a8e5 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -1,5 +1,6 @@ apply plugin: 'com.android.library' -apply from: '../build-config/gradle-quality.gradle' +apply plugin: 'maven-publish' +//apply from: '../build-config/gradle-quality.gradle' dependencies { compileOnly "com.google.android.gms:play-services-gcm:$playServicesVersion" @@ -70,4 +71,16 @@ android { } } -apply from: '../build-config/gradle-push.gradle' \ No newline at end of file +afterEvaluate { + publishing { + publications { + release(MavenPublication) { + from components.release + groupId = 'com.github.devv911' + artifactId = 'evernote-job' + } + } + } +} + +//apply from: '../build-config/gradle-push.gradle' \ No newline at end of file