Provide a task to generate all Gradle wrappers in the project

This commit is contained in:
Ilya Matveev
2018-06-08 14:04:00 +03:00
committed by ilmat192
parent cbc9221884
commit d72db9226b
12 changed files with 328 additions and 3 deletions
+7
View File
@@ -26,6 +26,13 @@ buildscript {
}
import org.jetbrains.kotlin.konan.*
// Allows generating wrappers for the root build and all the samples during execution of the default 'wrapper' task.
// Run './gradlew wrapper --gradle-version <version>' to update all the wrappers.
apply plugin: org.jetbrains.kotlin.GradleWrappers
wrappers.projects = ['samples', 'samples/calculator', 'samples/androidNativeActivity']
wrapper.distributionType = Wrapper.DistributionType.ALL
defaultTasks 'clean', 'dist'
convention.plugins.platformInfo = new PlatformInfo()