Skip to content

Commit deb2fe9

Browse files
committed
Publication changes
1 parent a515c91 commit deb2fe9

3 files changed

Lines changed: 18 additions & 5 deletions

File tree

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ buildscript {
55
gradlePluginPortal()
66
}
77
dependencies {
8-
classpath 'com.android.tools.build:gradle:7.1.3'
8+
classpath 'com.android.tools.build:gradle:7.2.1'
99
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.18.0'
1010
}
1111
}

demo/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ android {
3434
}
3535

3636
compileOptions {
37-
sourceCompatibility JavaVersion.VERSION_1_7
38-
targetCompatibility JavaVersion.VERSION_1_7
37+
sourceCompatibility JavaVersion.VERSION_1_8
38+
targetCompatibility JavaVersion.VERSION_1_8
3939
}
4040

4141
lintOptions {

library/build.gradle

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
apply plugin: 'com.android.library'
2-
apply from: '../build-config/gradle-quality.gradle'
2+
apply plugin: 'maven-publish'
3+
//apply from: '../build-config/gradle-quality.gradle'
34

45
dependencies {
56
compileOnly "com.google.android.gms:play-services-gcm:$playServicesVersion"
@@ -70,4 +71,16 @@ android {
7071
}
7172
}
7273

73-
apply from: '../build-config/gradle-push.gradle'
74+
afterEvaluate {
75+
publishing {
76+
publications {
77+
release(MavenPublication) {
78+
from components.release
79+
groupId = 'com.github.devv911'
80+
artifactId = 'evernote-job'
81+
}
82+
}
83+
}
84+
}
85+
86+
//apply from: '../build-config/gradle-push.gradle'

0 commit comments

Comments
 (0)