Skip to content

Commit

Permalink
Add maven-pulish plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
koji-1009 committed Aug 11, 2021
1 parent 7cfe256 commit 164e91c
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions emptyrecyclerview/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: "maven-publish"

android {
compileSdkVersion 30
Expand All @@ -19,3 +20,17 @@ android {
dependencies {
implementation 'androidx.recyclerview:recyclerview:1.2.1'
}

afterEvaluate {
publishing {
publications {
// Creates a Maven publication called "release".
release(MavenPublication) {
from components.release
groupId = 'com.github.koji-1009'
artifactId = 'EmptyRecyclerView'
version = '2.6.0'
}
}
}
}

0 comments on commit 164e91c

Please sign in to comment.