Skip to content

Commit

Permalink
Fix release pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
eltos committed Nov 4, 2023
1 parent 4583c19 commit 24b8ff6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
6 changes: 0 additions & 6 deletions simpledialogfragments/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,6 @@ android {
checkDependencies true
disable 'MissingTranslation'
}
publishing {
singleVariant('release') {
withSourcesJar()
withJavadocJar()
}
}
}

dependencies {
Expand Down
3 changes: 1 addition & 2 deletions simpledialogfragments/publish.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,12 @@ afterEvaluate {

// Two artifacts, the `aar` (or `jar`) and the sources
if (project.plugins.findPlugin("com.android.library")) {
from components.release
from components.findByName('release')
} else {
artifact("$buildDir/libs/${project.getName()}-${version}.jar")
}

artifact androidSourcesJar
artifact javadocJar

// Metadata
pom {
Expand Down

0 comments on commit 24b8ff6

Please sign in to comment.