Skip to content

Commit

Permalink
Publication changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ranjith-zuper committed Jul 13, 2022
1 parent a515c91 commit deb2fe9
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
}
Expand Down
4 changes: 2 additions & 2 deletions demo/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
17 changes: 15 additions & 2 deletions library/build.gradle
Original file line number Diff line number Diff line change
@@ -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"
Expand Down Expand Up @@ -70,4 +71,16 @@ android {
}
}

apply from: '../build-config/gradle-push.gradle'
afterEvaluate {
publishing {
publications {
release(MavenPublication) {
from components.release
groupId = 'com.github.devv911'
artifactId = 'evernote-job'
}
}
}
}

//apply from: '../build-config/gradle-push.gradle'

0 comments on commit deb2fe9

Please sign in to comment.