From e654b1829d234d901dda1361278f4e8a7dedfb12 Mon Sep 17 00:00:00 2001 From: Imre 'Rover' Racz Date: Fri, 13 May 2022 17:13:23 +0200 Subject: [PATCH] feat(release): added jitpack definition --- jitpack.yml | 4 ++++ kotlin-luhn/build.gradle | 17 +++++++++++++++-- 2 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 jitpack.yml diff --git a/jitpack.yml b/jitpack.yml new file mode 100644 index 0000000..faa03d2 --- /dev/null +++ b/jitpack.yml @@ -0,0 +1,4 @@ +jdk: + - openjdk11 +before_install: + - ./scripts/prepareJitpackEnvironment.sh diff --git a/kotlin-luhn/build.gradle b/kotlin-luhn/build.gradle index 30e5a24..989844e 100644 --- a/kotlin-luhn/build.gradle +++ b/kotlin-luhn/build.gradle @@ -30,11 +30,24 @@ android { } dependencies { - implementation 'androidx.core:core-ktx:1.7.0' implementation 'androidx.appcompat:appcompat:1.4.1' implementation 'com.google.android.material:material:1.6.0' testImplementation 'junit:junit:4.13.2' androidTestImplementation 'androidx.test.ext:junit:1.1.3' androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0' -} \ No newline at end of file +} + +afterEvaluate { + publishing { + publications { + release(MavenPublication) { + from components.release + + groupId = 'io.paylike' + artifactId = 'luhn' + version = '1.0' + } + } + } +}