java - How to set a custom Android APK build location -
i have modular android app:
- core
-- mod1
-- mod2
-- custom_build_location
i have module apks built custom common directory:
core/custom_build_location
i've tried:
core/mod1/build.gradle
def outputpathname = "/media/rev/5431214957ebf5d7/projects/android/core/custom_build_location/mod1.apk" applicationvariants.all { variant -> variant.outputfile = file(outputpathname) }
but following error gets thrown:
error:(30, 0) not set unknown property 'outputfile' object of type com.android.build.gradle.internal.api.applicationvariantimpl. <a href="openfile:/media/rev/5431214957ebf5d7/projects/android/core/mod1/build.gradle">open file</a>
how can go building project custom build directory?
thank in advance
update
gradle 3.3
Comments
Post a Comment