From 10aee3b863cf44fa1a4269c1a87ce0359d02e070 Mon Sep 17 00:00:00 2001 From: Martijn van Welie Date: Mon, 8 Nov 2021 20:27:08 +0100 Subject: [PATCH] Add jitpack changes --- blessed/build.gradle | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/blessed/build.gradle b/blessed/build.gradle index d10c22a..a36b7c4 100644 --- a/blessed/build.gradle +++ b/blessed/build.gradle @@ -1,5 +1,6 @@ apply plugin: 'com.android.library' apply plugin: 'kotlin-android' +apply plugin: 'maven-publish' android { compileSdkVersion 31 @@ -40,4 +41,18 @@ dependencies { testImplementation "org.robolectric:robolectric:4.5.1" testImplementation "org.mockito:mockito-core:3.8.0" testImplementation 'androidx.test:core:1.4.0' +} + +afterEvaluate { + publishing { + publications { + // Creates a Maven publication called "release". + release(MavenPublication) { + from components.release + groupId = 'com.github.weliem' + artifactId = 'blessed-android-coroutines' + version = '1.0' + } + } + } } \ No newline at end of file