Skip to content

Commit

Permalink
Add maven publish info
Browse files Browse the repository at this point in the history
  • Loading branch information
solkin committed Aug 12, 2021
1 parent 31e36d1 commit a574f3d
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion cache/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
apply plugin: 'com.android.library'
plugins {
id 'com.android.library'
id 'maven-publish'
}

android {
compileSdkVersion 30
Expand All @@ -20,3 +23,17 @@ android {
dependencies {
testImplementation 'junit:junit:4.13.1'
}

afterEvaluate {
publishing {
publications {
release(MavenPublication) {
from components.release

groupId = 'com.tomclaw.cache'
artifactId = 'cache'
version = '1.4'
}
}
}
}

0 comments on commit a574f3d

Please sign in to comment.