Skip to content

Commit

Permalink
Fix aar file generation (#1284)
Browse files Browse the repository at this point in the history
  • Loading branch information
ThorstenBandel authored Jun 2, 2023
1 parent d678374 commit a8d0fd3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Jenkinsfile.releaseAPK
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ pipeline {
./gradlew publishToMavenLocal
'''
}
archiveArtifacts artifacts: '**/*-release.aar'
archiveArtifacts artifacts: 'Paintroid/build/outputs/aar/Paintroid-signedRelease.aar'
archiveArtifacts artifacts: 'colorpicker/build/outputs/aar/colorpicker-signedRelease.aar'
}
}
}
Expand Down
6 changes: 6 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,12 @@ android {
signingConfig signingConfigs.signedRelease
}
}

publishing {
singleVariant('release') {
withSourcesJar()
}
}
}

tasks.withType(Detekt).configureEach {
Expand Down
3 changes: 2 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
android.enableJetifier=true
android.useAndroidX=true
org.gradle.jvmargs=-XX:MaxPermSize=1024m -Xmx4096m
org.gradle.jvmargs=-XX:MaxPermSize=1024m -Xmx4096m
android.disableAutomaticComponentCreation=true

0 comments on commit a8d0fd3

Please sign in to comment.