Skip to content

Commit c565e6d

Browse files
committed
Merge branch 'dev' into adjoh/rename-changelog
2 parents 5eaf499 + c4da016 commit c565e6d

File tree

9 files changed

+45
-10
lines changed

9 files changed

+45
-10
lines changed

CHANGELOG

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ v.Next
1212
- [PATCH] Disregard pageload errors for the non-primary frame during interactive auth (#1603)
1313
- [PATCH] Updates Nimbus version 8.2 -> 9.9 (#1600)
1414
- [PATCH] Fix for ADAL cache replication to Msal/Common-Cache (#1616)
15+
- [PATCH] Updates to README File.
1516

1617
Version 3.1.3
1718
-------------

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ Federated sign-in may fail when attempting to authenticate using the Azure Activ
379379
380380
### Querying cache items
381381
382-
ADAL provides Default cache in SharedPrefrecens with some simple cache query fucntions. You can get the current cache from AuthenticationContext with:
382+
ADAL provides Default cache in SharedPrefrences with some simple cache query methods. You can get the current cache from AuthenticationContext with:
383383
384384
```java
385385
ITokenCacheStore cache = mContext.getCache();

adal/build.gradle

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,8 @@ android {
131131
useLibrary 'android.test.mock'
132132
}
133133

134+
String commonVersion = project.hasProperty("distCommonVersion") ? project.distCommonVersion : "0.0.+"
135+
134136
dependencies {
135137
coreLibraryDesugaring "com.android.tools:desugar_jdk_libs:$rootProject.ext.coreLibraryDesugaringVersion"
136138

@@ -147,12 +149,11 @@ dependencies {
147149
transitive = true
148150
}
149151

150-
snapshotApi(group: 'com.microsoft.identity', name: 'common', version: '3.4.5', changing: true)
152+
snapshotApi(group: 'com.microsoft.identity', name: 'common', version: commonVersion, changing: true)
151153

152154
// 'dist' flavor dependencies
153-
//TODO: we will have to change transitive to true once common4j is published
154-
distApi("com.microsoft.identity:common:3.4.5") {
155-
transitive = false
155+
distApi("com.microsoft.identity:common:${commonVersion}") {
156+
transitive = true
156157
}
157158

158159
// Android Instrumented Test Dependencies
@@ -184,7 +185,7 @@ task sourcesJar(type: Jar) {
184185
task javadoc(type: Javadoc) {
185186
failOnError false
186187
source = android.sourceSets.main.java.srcDirs
187-
classpath += configurations.api
188+
classpath += configurations.compile
188189
classpath += project.files(android.getBootClasspath().join(File.pathSeparator))
189190
classpath += configurations.javadocDeps
190191
exclude '**/*.aidl'

adal/versioning/version_tasks.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ def getVersionFile() {
33
}
44

55
def getVersionProps() {
6-
def versionProps = new Properties();
6+
def versionProps = new Properties()
77
getVersionFile().withInputStream {stream -> versionProps.load(stream)}
88
return versionProps
99
}
@@ -25,7 +25,7 @@ ext.getAppVersionCode = {
2525
}
2626

2727
ext.getAppVersionName = {
28-
getVersionProps()['versionName'].toString()
28+
project.findProperty('projVersion') ?: getVersionProps()['versionName'].toString()
2929
}
3030

3131
private void saveChanges(String versionName) {

azure-pipelines/vsts-releases/adal-vsts-release.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,14 @@ name: $(date:yyyyMMdd)$(rev:.r)
99
trigger: none
1010
pr: none
1111

12+
resources:
13+
repositories:
14+
- repository: common
15+
type: github
16+
name: AzureAD/microsoft-authentication-library-common-for-android
17+
ref: dev
18+
endpoint: ANDROID_GITHUB
19+
1220
jobs:
1321
- job: build_publish
1422
displayName: Publish adal to internal feed
@@ -38,4 +46,21 @@ jobs:
3846
inputs:
3947
tasks: adal:publish
4048
publishJUnitResults: false
49+
- template: azure-pipelines/templates/steps/generate-sbom.yml@common
50+
parameters:
51+
project: adal
52+
buildDropPath: $(Build.SourcesDirectory)/adal/build/
53+
configuration: distReleaseRuntimeClasspath
54+
- task: CopyFiles@2
55+
name: CopyFiles1
56+
displayName: Copy Files to Artifact Staging Directory
57+
inputs:
58+
SourceFolder: adal\build\
59+
TargetFolder: $(build.artifactstagingdirectory)
60+
- task: PublishPipelineArtifact@1
61+
name: PublishPipelineArtifact1
62+
displayName: 'Publish Artifact: adal Release'
63+
inputs:
64+
ArtifactName: adalRelease
65+
TargetPath: $(Build.ArtifactStagingDirectory)
4166
...

build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ allprojects {
3232
tasks.withType(Javadoc) {
3333
options.addStringOption('Xdoclint:none', '-quiet')
3434
}
35+
36+
dependencyLocking {
37+
lockAllConfigurations()
38+
}
3539
}
3640

3741

common

Submodule common updated 77 files

gradle/versions.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ ext {
4545
robolectricVersion = "4.3.1"
4646
uiAutomatorVersion = "2.2.0"
4747
mseberaApacheHttpClientVersion = "4.5.8"
48+
msal4jVersion = "1.10.0"
4849

4950
// TODO: adal automation test app.
5051
supportLibraryVersion = "27.1.+"

settings.gradle

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,12 @@ pluginManagement {
77
}
88
}
99

10-
include ':adal', ':userappwithbroker', ':common', 'keyvault', 'labapi', 'testutils', ':common4j'
10+
include ':adal', ':userappwithbroker', ':common', 'keyvault', 'labapi', 'testutils', ':common4j',
11+
':LabApiUtilities'
12+
1113
project(':common').projectDir = new File('common/common')
1214
project(':keyvault').projectDir = new File('common/keyvault')
1315
project(':labapi').projectDir = new File('common/labapi')
1416
project(':testutils').projectDir = new File('common/testutils')
1517
project(':common4j').projectDir = new File('common/common4j')
18+
project(':LabApiUtilities').projectDir = new File('common/LabApiUtilities')

0 commit comments

Comments
 (0)