Skip to content

Commit 88e7ca7

Browse files
committed
Merge branch 'somalaya/showWebCpInWebview' of https://github.com/AzureAD/microsoft-authentication-library-common-for-android into somalaya/showWebCpInWebview
2 parents 920abee + fde8bf6 commit 88e7ca7

File tree

20 files changed

+91
-44
lines changed

20 files changed

+91
-44
lines changed

LabApiUtilities/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
plugins {
22
id 'java-library'
33
id 'maven-publish'
4-
id 'com.microsoft.identity.buildsystem' version '0.2.3'
4+
id 'com.microsoft.identity.buildsystem' version '0.2.5'
55

66
// the below build plugin allows to generate BuildConfig files in a JAVA gradle project.
77
// BuildConfig files are generated by default in an Android project, however, a non-Android java

azure-pipelines/pull-request-validation/build-consumers.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -125,15 +125,15 @@ stages:
125125
displayName: Assemble msal
126126
inputs:
127127
jdkArchitecture: x64
128-
jdkVersionOption: "1.11"
128+
jdkVersionOption: "1.17"
129129
tasks: clean msal:assembleLocal
130130
- template: ../templates/steps/automation-cert.yml
131131
- task: Gradle@3
132132
displayName: Run msal Unit tests
133133
inputs:
134134
tasks: msal:testLocalDebugUnitTest -Plabtest -PlabSecret=$(LabVaultAppCert) -ProbolectricSdkVersion=${{variables.robolectricSdkVersion}} -PmockApiUrl=$(MOCK_API_URL)
135135
jdkArchitecture: x64
136-
jdkVersionOption: "1.11"
136+
jdkVersionOption: "1.17"
137137
# broker
138138
- job: brokerValidation
139139
displayName: Broker
@@ -171,13 +171,13 @@ stages:
171171
tasks: AADAuthenticator:clean AADAuthenticator:assembleLocal --build-cache --info
172172
publishJUnitResults: false
173173
jdkArchitecture: x64
174-
jdkVersionOption: "1.11"
174+
jdkVersionOption: "1.17"
175175
- task: Gradle@3
176176
displayName: Run broker Unit tests
177177
inputs:
178178
tasks: AADAuthenticator:localDebugAADAuthenticatorUnitTestCoverageReport --build-cache --info -Plabtest -PlabSecret=$(LabVaultAppCert) -ProbolectricSdkVersion=${{variables.robolectricSdkVersion}} -PpowerLiftApiKey=$(powerliftApiKey) -PcodeCoverageEnabled=true ${{variables.shouldSkipLongRunningTest}}
179179
jdkArchitecture: x64
180-
jdkVersionOption: "1.11"
180+
jdkVersionOption: "1.17"
181181
# Linux broker
182182
- job: linuxBrokerValidation
183183
displayName: Linux Broker
@@ -226,6 +226,7 @@ stages:
226226
tasks: LinuxBroker:clean LinuxBroker:assemble --build-cache --info
227227
publishJUnitResults: false
228228
jdkArchitecture: x86
229+
jdkVersionOption: "1.17"
229230
- task: Bash@3
230231
displayName: Execute tests
231232
inputs:
@@ -277,10 +278,10 @@ stages:
277278
inputs:
278279
tasks: clean adal:assembleLocal
279280
jdkArchitecture: x64
280-
jdkVersionOption: "1.11"
281+
jdkVersionOption: "1.17"
281282
- task: Gradle@3
282283
displayName: Run adal Unit tests
283284
inputs:
284285
tasks: adal:testLocalDebugUnitTest -Plabtest -ProbolectricSdkVersion=${{variables.robolectricSdkVersion}} -PlabSecret=$(LabVaultAppCert)
285286
jdkArchitecture: x64
286-
jdkVersionOption: "1.11"
287+
jdkVersionOption: "1.17"

azure-pipelines/pull-request-validation/common.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
displayName: Assemble Local
3939
inputs:
4040
javaHomeSelection: JDKVersion
41-
jdkVersionOption: "1.11"
41+
jdkVersionOption: "1.17"
4242
tasks: clean common:assembleLocal
4343
publishJUnitResults: false
4444
jdkArchitecture: x64
@@ -48,14 +48,14 @@ jobs:
4848
displayName: Run Unit tests
4949
inputs:
5050
javaHomeSelection: JDKVersion
51-
jdkVersionOption: "1.11"
51+
jdkVersionOption: "1.17"
5252
tasks: common:testLocalDebugUnitTest -PlabSecret=$(LabVaultAppCert) -PmockApiUrl=$(MOCK_API_URL)
5353
- task: Gradle@3
5454
displayName: Check Dependencies size
5555
condition: eq(variables['system.pullRequest.targetBranch'], 'dev')
5656
inputs:
5757
tasks: common:dependenciesSizeCheck -PdependenciesSizeCheckConfig=distReleaseRuntimeClasspath
58-
jdkVersionOption: "1.11"
58+
jdkVersionOption: "1.17"
5959

6060
- job: spotbugs
6161
displayName: SpotBugs
@@ -68,6 +68,7 @@ jobs:
6868
- template: ../templates/steps/spotbugs.yml
6969
parameters:
7070
project: common
71+
7172
- job: lint
7273
displayName: Lint
7374
cancelTimeoutInMinutes: 1
@@ -87,5 +88,5 @@ jobs:
8788
tasks: clean common:lintLocalDebug
8889
publishJUnitResults: false
8990
javaHomeSelection: JDKVersion
90-
jdkVersionOption: "1.11"
91+
jdkVersionOption: "1.17"
9192
...

azure-pipelines/pull-request-validation/common4j.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ jobs:
3131
inputs:
3232
cwd: $(Build.SourcesDirectory)/common-java-root
3333
tasks: clean common4j:assemble
34+
javaHomeOption: JDKVersion
35+
jdkVersionOption: 1.17
3436
- template: ../templates/steps/spotbugs.yml
3537
parameters:
3638
project: common4j
@@ -41,4 +43,6 @@ jobs:
4143
inputs:
4244
cwd: $(Build.SourcesDirectory)/common-java-root
4345
tasks: common4j:test -Psugar=true -PmockApiUrl=$(MOCK_API_URL)
46+
javaHomeOption: JDKVersion
47+
jdkVersionOption: 1.17
4448
...

azure-pipelines/pull-request-validation/lab-utilities.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ jobs:
3131
inputs:
3232
cwd: $(Build.SourcesDirectory)/common-java-root
3333
tasks: LabApiUtilities:clean LabApiUtilities:assemble
34+
javaHomeSelection: JDKVersion
35+
jdkVersionOption: "1.17"
3436
- template: ../templates/steps/spotbugs.yml
3537
parameters:
3638
project: LabApiUtilities
@@ -41,4 +43,6 @@ jobs:
4143
inputs:
4244
cwd: $(Build.SourcesDirectory)/common-java-root
4345
tasks: LabApiUtilities:test -Psugar=true -PlabSecret=$(LabVaultAppCert)
46+
javaHomeSelection: JDKVersion
47+
jdkVersionOption: "1.17"
4448
...

azure-pipelines/templates/steps/continuous-delivery/assemble-publish-projversion.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,19 +37,19 @@ steps:
3737
displayName: Assemble ${{ parameters.project }} ${{ parameters.variant }}
3838
inputs:
3939
javaHomeSelection: JDKVersion
40-
jdkVersionOption: "1.11"
40+
jdkVersionOption: "1.17"
4141
tasks: '${{ parameters.project }}:clean ${{ parameters.project }}:assemble${{ parameters.variant }} ${{ parameters.buildArguments }}'
4242
- task: Gradle@2
4343
displayName: Publish
4444
inputs:
4545
javaHomeSelection: JDKVersion
46-
jdkVersionOption: "1.11"
46+
jdkVersionOption: "1.17"
4747
tasks: '${{ parameters.project }}:publish${{ parameters.variant }} ${{ parameters.buildArguments }}'
4848
- task: Gradle@2
4949
displayName: Run unit tests
5050
inputs:
5151
javaHomeSelection: JDKVersion
52-
jdkVersionOption: "1.11"
52+
jdkVersionOption: "1.17"
5353
tasks: '${{ parameters.project }}:test${{ parameters.variant }} -PlabSecret=$(LabVaultAppCert)'
5454
- ${{ if ne(parameters.artifactFolder, '') }}:
5555
- task: CopyFiles@2

azure-pipelines/templates/steps/spotbugs.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,14 @@ parameters:
1010
default: CodeAnalysisLogs
1111
- name: cwd
1212
default: $(Build.SourcesDirectory)
13-
13+
- name: javaVersion
14+
default: "1.17"
1415
steps:
1516
- task: Gradle@3
1617
displayName: 'Run Spotbugs'
1718
inputs:
1819
javaHomeSelection: JDKVersion
19-
jdkVersionOption: "1.11"
20+
jdkVersionOption: ${{parameters.javaVersion}}
2021
jdkArchitecture: x64
2122
cwd: ${{ parameters.cwd }}
2223
tasks: ${{ parameters.project }}:${{ parameters.spotbugsCommand }}

changelog.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ Version 21.0.0
3636
- [PATCH] Fix multiple prompts issue in cross cloud request (#2599)
3737
- [PATCH] Corrected error handling in cross cloud scenario (#2602)
3838
- [MINOR] Native auth: Add claimsRequest also to getAccessToken and signIn after signUp/SSPR flows (#2622)
39+
- [MINOR] Upgrading AGP Version to 8.1.1 (#2587)
3940

4041
Version 20.1.1
4142
----------

common-java-root/gradle.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ org.gradle.daemon=true
1010

1111
# See https://stackoverflow.com/questions/56075455/expiring-daemon-because-jvm-heap-space-is-exhausted
1212
# we must make sure that the total size is <7G, as that's the RAM size of VM on the build pipeline.
13-
org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError
13+
# MaxMetaspaceSize replaced MaxPermSize as of java 8+.https://www.oracle.com/java/technologies/javase/8-whats-new.html
14+
org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError
1415

1516
# This the TSL versionName...
1617
versionName=1.5.9
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1-all.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)