-
Notifications
You must be signed in to change notification settings - Fork 12
/
build.gradle
55 lines (47 loc) · 1.47 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*
* Copyright 2019, Green Hope Falcons
*/
plugins {
id "org.jetbrains.kotlin.jvm" version "1.3.61" apply false
id "edu.wpi.first.GradleRIO" version "2021.3.1" apply false
id "com.diffplug.gradle.spotless" version "3.26.1" apply false
id "maven"
id "maven-publish"
}
allprojects {
apply plugin: "org.jetbrains.kotlin.jvm"
apply plugin: "edu.wpi.first.GradleRIO"
apply plugin: "com.diffplug.gradle.spotless"
apply plugin: "maven"
apply plugin: "maven-publish"
repositories {
jcenter()
maven { url "https://jitpack.io" }
maven { url "https://frcmaven.wpi.edu/artifactory/release" }
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.2"
testImplementation "org.knowm.xchart:xchart:3.2.2"
testImplementation "junit:junit:4.12"
}
compileKotlin {
kotlinOptions {
jvmTarget = "1.8"
freeCompilerArgs = ["-Xjvm-default=compatibility"]
}
}
spotless {
kotlin {
ktlint().userData(['insert_final_newline': 'true'])
licenseHeaderFile "$rootDir/LicenseHeader.txt"
}
}
}
wrapper {
gradleVersion = "6.0.1"
}