mirror of
https://github.com/vacp2p/linea-monorepo.git
synced 2026-01-07 22:54:08 -05:00
30 lines
781 B
Groovy
30 lines
781 B
Groovy
/*
|
|
* 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()
|