build(modules): simplify module template
We can do this now that spotbugs and sonarqube moved to terasology-metrics in build-logicdevelop
parent
90af4b2c8f
commit
8a322cb6fe
|
@ -1,14 +1,9 @@
|
|||
// Copyright 2020 The Terasology Foundation
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// Since SpotBugs and SonarQube in the legacy style have external dependencies we have to have this block here.
|
||||
// Alternatively we untangle and update the common.gradle / Kotlin Gradle plugin stuff or just remove these two
|
||||
buildscript {
|
||||
repositories {
|
||||
mavenCentral()
|
||||
google()
|
||||
maven {
|
||||
url = uri("https://plugins.gradle.org/m2/")
|
||||
}
|
||||
maven {
|
||||
// required to provide runtime dependencies to build-logic.
|
||||
name = "Terasology Artifactory"
|
||||
|
@ -24,14 +19,6 @@ buildscript {
|
|||
allowInsecureProtocol = true // 😱
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
//Spotbugs
|
||||
classpath("gradle.plugin.com.github.spotbugs.snom:spotbugs-gradle-plugin:4.0.0")
|
||||
|
||||
// SonarQube / Cloud scanning
|
||||
classpath("org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.8")
|
||||
}
|
||||
}
|
||||
|
||||
plugins {
|
||||
|
|
Loading…
Reference in New Issue