Skip to content

Commit

Permalink
jitpack.yml added
Browse files Browse the repository at this point in the history
  • Loading branch information
akshaaatt committed Oct 31, 2021
1 parent 7a41626 commit 4792f74
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
2 changes: 2 additions & 0 deletions jitpack.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
jdk:
- openjdk11
23 changes: 21 additions & 2 deletions slider/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
plugins {
id 'com.android.library'
id 'kotlin-android'
id 'maven-publish'
}

android {
compileSdk 31
Expand Down Expand Up @@ -35,3 +38,19 @@ dependencies {
// Circle Indicator
implementation 'me.relex:circleindicator:2.1.6'
}
afterEvaluate {
publishing {
publications {
// Creates a Maven publication called "release".
release(MavenPublication) {
// Applies the component for the release build variant.
from components.release

// You can then customize attributes of the publication as shown below.
groupId = 'com.limerse.slider'
artifactId = 'final'
version = '1.0'
}
}
}
}

0 comments on commit 4792f74

Please sign in to comment.