forked from MovingBlocks/Kallisti
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
31 lines (28 loc) · 1.02 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// 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"
url = "http://artifactory.terasology.org/artifactory/virtual-repo-live"
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 {
id("terasology-module")
}