Skip to content

Commit

Permalink
Changes for August 2024 release setup (#2152)
Browse files Browse the repository at this point in the history
  • Loading branch information
shahzaibj authored Aug 8, 2024
1 parent ce7c223 commit f7ddb6e
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 16 deletions.
6 changes: 5 additions & 1 deletion changelog
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,14 @@ MSAL Wiki : https://github.com/AzureAD/microsoft-authentication-library-for-andr
vNext
----------

Version 5.5.0
---------
- [MINOR] Fix UserAttributesBuilder being a singleton bug (#2145)
- [PATCH] Update common @17.7.0

Version 5.4.2
---------
- [PATCH] Update common @17.6.1
- [MINOR] Fix UserAttributesBuilder being a singleton bug (#2145)

Version 5.4.0
----------
Expand Down
2 changes: 1 addition & 1 deletion common
24 changes: 12 additions & 12 deletions msal/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -188,12 +188,12 @@ task sourcesJar(type: Jar) {

// In dev, we want to keep the dependencies (common4j, common) to 1.0.+ to be able to be consumed by daily dev pipeline.
// In release/*, we change these to specific versions being consumed.
def commonVersion = "1.0.+"
def commonVersion = "17.7.0"
if (project.hasProperty("distCommonVersion")) {
commonVersion = project.distCommonVersion
}
// Used for testfixtures
def common4jVersion = "1.0.+"
def common4jVersion = "14.7.0"
if (project.hasProperty("distCommon4jVersion")) {
distCommon4jVersion = project.distCommon4jVersion
}
Expand Down Expand Up @@ -309,16 +309,16 @@ afterEvaluate {
// Gradle 6.1.1 and Android Gradle Plugin 4.0.1 doesn't rename the file (see 'outputFileName' above)
// Adding this work around to have the file properly renamed.
// Please uncomment the section below for the Maven release step only. Currently troubleshooting why this extra renaming configuration is still needed for MSAL.
// tasks.named("assembleDistRelease").configure {
// def buildFile = file("$buildDir/outputs/aar/${archivesBaseName}-dist-release.aar")
// print "Build file $buildFile"
// doLast {
// println "Renaming build file $buildFile to '$buildDir${File.separator}outputs${File.separator}aar${File.separator}${archivesBaseName}-${version}.aar'"
// if (!buildFile.renameTo("$buildDir${File.separator}outputs${File.separator}aar${File.separator}${archivesBaseName}-${version}.aar")) {
// println "Rename failed!"
// }
// }
// }
tasks.named("assembleDistRelease").configure {
def buildFile = file("$buildDir/outputs/aar/${archivesBaseName}-dist-release.aar")
print "Build file $buildFile"
doLast {
println "Renaming build file $buildFile to '$buildDir${File.separator}outputs${File.separator}aar${File.separator}${archivesBaseName}-${version}.aar'"
if (!buildFile.renameTo("$buildDir${File.separator}outputs${File.separator}aar${File.separator}${archivesBaseName}-${version}.aar")) {
println "Rename failed!"
}
}
}
publishing {
publications {
msal(MavenPublication) {
Expand Down
2 changes: 1 addition & 1 deletion msal/versioning/version.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#Wed Aug 01 15:24:11 PDT 2018
versionName=5.4.2
versionName=5.5.0
versionCode=0
2 changes: 1 addition & 1 deletion msalautomationapp/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'

def msalVersion = "5.4.0"
def msalVersion = "5.+"

if (project.hasProperty("distMsalVersion")) {
msalVersion = distMsalVersion
Expand Down

0 comments on commit f7ddb6e

Please sign in to comment.