Skip to content

Commit

Permalink
Fix deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-megh-l committed Jan 3, 2024
1 parent 9c0eb11 commit 0f42a92
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions scripts/publish-module.gradle
Original file line number Diff line number Diff line change
@@ -1,19 +1,6 @@
apply plugin: 'maven-publish'
apply plugin: 'signing'

tasks.register('androidSourceJar', Jar) {
archiveClassifier.set('sources')
if (project.plugins.findPlugin("com.android.library")) {
from android.sourceSets.main.java.srcDirs
} else {
from sourceSets.main.java.srcDirs
}
}

artifacts {
archives androidSourceJar
}

group = PUBLISH_GROUP_ID
version = rootProject.ext["publish_version"]

Expand All @@ -22,10 +9,6 @@ afterEvaluate {
publications {
release(MavenPublication) {

tasks.named("generateMetadataFileForReleasePublication").configure {
dependsOn("androidSourcesJar")
}

groupId PUBLISH_GROUP_ID
artifactId PUBLISH_ARTIFACT_ID
version rootProject.ext["publish_version"]
Expand Down

0 comments on commit 0f42a92

Please sign in to comment.