@@ -116,10 +116,6 @@ android {
116116 dist {
117117 dimension " main"
118118 }
119- production{
120- dimension " main"
121- matchingFallbacks = [' dist' ]
122- }
123119 }
124120
125121 sourceSets {
@@ -256,7 +252,6 @@ android.libraryVariants.all { variant ->
256252
257253tasks. register(' sourcesJar' , Jar ) {
258254 from android. sourceSets. main. java. srcDirs
259- // classifier 'sources'
260255 archiveClassifier. set(' sources' )
261256 destinationDirectory = reporting. file(" $project . buildDir /outputs/jar/" )
262257}
@@ -305,8 +300,6 @@ afterEvaluate {
305300 publications {
306301 distRelease(MavenPublication ) {
307302 from components. distRelease
308- println " Components1: ${ components.distRelease} "
309- println " pname: ${ project.name} "
310303 groupId ' com.microsoft.identity'
311304 artifactId ' common'
312305 // Edit the 'version' here for VSTS RC build
@@ -343,16 +336,11 @@ afterEvaluate {
343336 }
344337 distDebug(MavenPublication ) {
345338 from components. distDebug
346- println " Components2: ${ components.distDebug} "
347- println " pname: ${ project.name} "
348-
349- // withoutComponent()
350339 groupId ' com.microsoft.identity'
351340 artifactId ' common-debug'
352341 // Edit the 'version' here for VSTS RC build
353342
354343 version = project. version
355- // artifact{"$buildDir/outputs/aar/common-debug-${project.version}.aar"}
356344 }
357345 }
358346
@@ -406,7 +394,6 @@ tasks.withType(GenerateMavenPom).all {
406394 } else if (name. contains(" distRelease" )) {
407395 destination = layout. buildDirectory. file(" poms/common-${ project.version} .pom" ). get(). asFile
408396 }
409- // destination = layout.buildDirectory.file("poms/${project.name}-${project.version}.pom").get().asFile
410397}
411398
412399def dependenciesSizeInMb = project. hasProperty(" dependenciesSizeMb" ) ? project. dependenciesSizeMb : " 15"
0 commit comments