Skip to content

Commit a49a191

Browse files
committed
redoing old gradle changes in uiautomation buildgradle
1 parent 9e38c8a commit a49a191

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

uiautomationutilities/build.gradle

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ if (project.hasProperty("uiElementTimeout")) {
2121
}
2222

2323
android {
24-
24+
namespace "com.microsoft.identity.client.ui.automation"
2525
testOptions {
2626
compileOptions {
2727
// Flag to enable support for the new language APIs
@@ -35,7 +35,9 @@ android {
3535
}
3636
animationsDisabled = true
3737
}
38-
38+
buildFeatures {
39+
buildConfig = true
40+
}
3941
//Commenting out until the next major version of common/msal/etc...
4042
/*
4143
compileOptions {
@@ -148,9 +150,11 @@ android {
148150

149151
task sourcesJar(type: Jar) {
150152
from android.sourceSets.main.java.srcDirs
151-
classifier 'sources'
153+
// classifier 'sources'
154+
archiveClassifier.set('sources')
152155
}
153156

157+
154158
tasks.whenTaskAdded { task ->
155159
if (task.name == 'assembleDebug' || task.name == 'assembleRelease') {
156160
task.dependsOn 'sourcesJar'

0 commit comments

Comments
 (0)