build: prefix genymotion device name with the name of the module
authorDa Risk <da_risk@geekorum.com>
Thu, 23 May 2019 18:46:30 -0700
changeset 187 1c1138e6f5ab
parent 186 cf2e4d1768b7
child 188 0cc6acd0d3f3
build: prefix genymotion device name with the name of the module
buildSrc/src/main/kotlin/Genymotion.kt
--- a/buildSrc/src/main/kotlin/Genymotion.kt	Thu May 23 18:23:36 2019 -0700
+++ b/buildSrc/src/main/kotlin/Genymotion.kt	Thu May 23 18:46:30 2019 -0700
@@ -41,7 +41,7 @@
     configure<GenymotionPluginExtension> {
         if (useLocalDevices) {
             devices(closureOf<NamedDomainObjectContainer<VDLaunchDsl>> {
-                register("pixelc-v24") {
+                register("$name-pixelc-v24") {
                     template = "Google Pixel C - 7.0.0 - API 24 - 2560x1800"
                 }
             })
@@ -49,10 +49,10 @@
 
         if (useCloudDevices) {
             cloudDevices(closureOf<NamedDomainObjectContainer<CloudVDLaunchDsl>> {
-                register("pixelc-v24") {
+                register("$name-pixelc-v24") {
                     template = "Google Pixel C - 7.0.0 - API 24 - 2560x1800"
                 }
-                register("pixel3-v28") {
+                register("$name-pixel3-v28") {
                     template = "Google Pixel 3 - 9.0 - API 28 - 1080x2160"
                 }
             })