/* * Copyright Consensys Software Inc. * * This file is dual-licensed under either the MIT license or Apache License 2.0. * See the LICENSE-MIT and LICENSE-APACHE files in the repository root for details. * * SPDX-License-Identifier: MIT OR Apache-2.0 */ // Default tasks and build aliases defaultTasks 'build', 'checkLicense', 'javadoc', 'artifacts' def buildAliases = [ 'dev': [ 'spotlessApply', 'build', 'checkLicenses' ], 'artifacts' : [ 'jar', 'distPlugin' ] ] def expandedTaskList = [] gradle.startParameter.taskNames.each { expandedTaskList << (buildAliases[it] ? buildAliases[it] : it) } gradle.startParameter.taskNames = expandedTaskList.flatten()