shwenzhang / AndResGuard

proguard resource for Android by wechat team
Apache License 2.0
8.54k stars 1.54k forks source link

write custom gradle task #209

Closed rexi1r closed 6 years ago

rexi1r commented 6 years ago

hi. I have two flavors like (resguardOneRelease, resguardTwoRelease), I want to write some Gradle task to run both in sequence. but any attempt to defeat.

how can I do something like this?

simpleton commented 6 years ago

./gradlew resguardOneRelease resguardTwoRelease shoud work. Or u can write a task depends on the tasks which u wanna running. Or just run ./gradlew resguardRelease for all tasks which buildType is Release

On Fri, Nov 17, 2017 at 1:10 AM, rexi1r notifications@github.com wrote:

hi. I have two flavors like (resguardOneRelease, resguardTwoRelease), I want to write some Gradle task to run both in sequence. but any attempt to defeat.

how can I do something like this?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/shwenzhang/AndResGuard/issues/209, or mute the thread https://github.com/notifications/unsubscribe-auth/AAbvYqpNkFVZMmODYxGNZwFQkwPJoQ4Uks5s3U15gaJpZM4QhvUj .