Skip to content

Commit

Permalink
update: publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
harsewaksingh13 committed Sep 19, 2024
1 parent ed2f11d commit 17fc9b6
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions horizontalcalendar/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
//jitpack publishing
publishing {
singleVariant('release') {
withSourcesJar()
}
}
}

dependencies {
Expand All @@ -42,11 +48,11 @@ publishing {
publications {
release(MavenPublication) {
groupId = 'com.github.harsewaksingh13'
artifactId = 'horizontalcalendarlibrary'
version = '1.0.0'
artifactId = 'horizontalcalendar'
version = '1.1.2'

afterEvaluate {
// from components.release
from components.findByName('release')
}
}
}
Expand Down

0 comments on commit 17fc9b6

Please sign in to comment.