From a574f3db6d8f606ede3d15a8d069c10d210c61d5 Mon Sep 17 00:00:00 2001 From: Igor Solkin Date: Thu, 12 Aug 2021 17:55:03 +0300 Subject: [PATCH] Add maven publish info --- cache/build.gradle | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) 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' + } + } + } +}