Skip to content

Commit

Permalink
add config to publish on jitpack
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Apr 28, 2023
1 parent b2a9211 commit 30d044f
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
14 changes: 14 additions & 0 deletions DigiPlot/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
plugins {
id 'com.android.library'
id 'org.jetbrains.kotlin.android'
id 'maven-publish'
}

android {
Expand Down Expand Up @@ -48,4 +49,17 @@ dependencies {
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
}

afterEvaluate {
publishing {
publications {
release(MavenPublication) {
from components.release
groupId = 'ir.hfathi.digiplot'
artifactId = 'Digi-Plot'
version = '1.0.0'
}
}
}
}
4 changes: 4 additions & 0 deletions jitpack.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
jdk:
- openjdk11
before_install:
- ./scripts/prepareJitpackEnvironment.sh

0 comments on commit 30d044f

Please sign in to comment.