Files
linea-monorepo/besu-plugins/linea-sequencer/gradle/build-aliases.gradle
Alain Nicolas a3ad42a072 chore(license): update licensing (#1106)
* chore(license): update licensing

* chore(license): update licensing on Java files
2025-06-09 11:53:04 +02:00

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()