Skip to content

Commit

Permalink
Fix Jitpack Deployment Issues
Browse files Browse the repository at this point in the history
  • Loading branch information
DeveloperPaul123 committed Dec 29, 2021
1 parent 9d18923 commit 2301378
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions starview/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
plugins {
id 'com.android.library'
id 'kotlin-android'
id 'maven-publish'
}

android {
Expand All @@ -27,6 +28,31 @@ android {
kotlinOptions {
jvmTarget = '11'
}
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.github.DeveloperPaul123.StarView'
artifactId = 'final'
version = '1.0.2'
}
// Creates a Maven publication called “debug”.
debug(MavenPublication) {
// Applies the component for the debug build variant.
from components.debug

groupId = 'com.github.DeveloperPaul123.StarView'
artifactId = 'final-debug'
version = '1.0.2'
}
}
}
}
}

dependencies {
Expand Down

0 comments on commit 2301378

Please sign in to comment.