Skip to content

Commit

Permalink
Fix deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
hb0 committed Feb 27, 2024
1 parent ad5dc72 commit 09f8f73
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main/groovy/de.cyface.android-publish.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,10 @@ publishing {
artifactId "${project.name}${flavor.contains('movebis') ? 'movebis' : ''}"
project.logger.lifecycle('artifactId: ' + artifactId)
version android.defaultConfig.versionName
artifact(variant.packageLibraryProvider.get().archivePath)
variant.outgoing.artifact(variant.packageLibraryProvider) {
builtBy variant.packageLibraryProvider
type 'aar'
}
// Put javadoc and sources into jar
println "publish dependency: ${project.name}${variant.name.capitalize()} on ${variant.name}JavadocJar/SourcesJar"
println ""
Expand Down

0 comments on commit 09f8f73

Please sign in to comment.