diff --git a/cache/build.gradle b/cache/build.gradle index 620d0a2..b3df0e4 100644 --- a/cache/build.gradle +++ b/cache/build.gradle @@ -1,4 +1,7 @@ -apply plugin: 'com.android.library' +plugins { + id 'com.android.library' + id 'maven-publish' +} android { compileSdkVersion 30 @@ -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' + } + } + } +}