Gradle Plugin 3.0 Output Apk directory not available

24 views
Skip to first unread message

md

unread,
Oct 28, 2017, 11:38:31 AM10/28/17
to adt-dev
Android Studio 3.0 definitely is an improvement.

But Gradle Plugin 3.0 broke my builds.

We have all seen: 

https://developer.android.com/studio/build/gradle-plugin-3-0-0-migration.html

But the section: "Modifying variant outputs at build time may not work"

Includes the following snippet:

android.applicationVariants.all { variant ->
variant.outputs.all {
outputFileName = "MyCustomApkFileName.apk"
}
}

So how do we configure the output directory where "MyCustomApkFileName.apk" is finally placed?

No solutions offered in the release.

Android Team Powers activate!

Gracias,

md


Reply all
Reply to author
Forward
0 new messages