From b76e5ef7e0371f610f31c641a514a97c2c5ac02f Mon Sep 17 00:00:00 2001 From: Vigo Yang Date: Tue, 7 Sep 2021 13:18:15 +0800 Subject: [PATCH] CMB-1992: Fix AGP 7.0 by adding getters --- .../groovy/com/meituan/android/walle/ChannelMaker.groovy | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/plugin/src/main/groovy/com/meituan/android/walle/ChannelMaker.groovy b/plugin/src/main/groovy/com/meituan/android/walle/ChannelMaker.groovy index a94c11d..2b425e7 100644 --- a/plugin/src/main/groovy/com/meituan/android/walle/ChannelMaker.groovy +++ b/plugin/src/main/groovy/com/meituan/android/walle/ChannelMaker.groovy @@ -33,6 +33,14 @@ class ChannelMaker extends DefaultTask { @Input public Project targetProject; + BaseVariant getVariant() { + return variant + } + + Project getTargetProject() { + return targetProject + } + public void setup() { description "Make Multi-Channel" group "Package"