Unverified Commit cfe7f2a5 authored by NicolaiO's avatar NicolaiO 🐼
Browse files

Fix build

parent 5e261de5
Pipeline #8598 passed with stage
in 4 minutes and 9 seconds
*.iml *.iml
/.idea /.idea
/data/* /data/*
/.gradle .gradle
build build
/autoReferee /autoReferee
/* /*
* Copyright (c) 2009 - 2020, DHBW Mannheim - TIGERs Mannheim * Copyright (c) 2009 - 2021, DHBW Mannheim - TIGERs Mannheim
*/ */
plugins { plugins {
id "java" id 'sumatra.java-conventions'
id "jacoco" id 'application'
id "idea"
id "application" id 'com.palantir.git-version' version '0.12.3'
id 'ca.cutterslade.analyze' version '1.4.3'
id "com.google.protobuf" version "0.8.12" apply false id 'com.google.cloud.tools.jib' version '2.7.0'
id "com.palantir.git-version" version "0.12.3"
id "ca.cutterslade.analyze" version "1.4.1"
id "com.google.cloud.tools.jib" version "2.7.1"
id "com.github.breadmoirai.github-release" version "2.2.12" id "com.github.breadmoirai.github-release" version "2.2.12"
} }
ext.versionDetails = versionDetails(prefix: "version/") ext.versionDetails = versionDetails(prefix: "version/")
version gitVersion(prefix: "version/") version gitVersion(prefix: "version/")
allprojects { tasks.named('wrapper').configure {
repositories { // Use the 'all' distributable when upgrading the Gradle wrapper
jcenter()
maven {
url = 'https://jitpack.io/'
}
maven {
// For Berkeley DB
url = 'https://download.oracle.com/maven'
}
maven {
// Fallback: TIGERs server (publicly available)
url = 'https://nexus.tigers-mannheim.de/content/groups/public/'
}
}
}
allprojects {
apply plugin: 'java'
apply plugin: 'jacoco'
apply plugin: 'idea'
apply plugin: 'ca.cutterslade.analyze'
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
test {
exclude '**/*PerfTest.class'
exclude '**/*IntegrationTest.class'
}
jacoco {
toolVersion = "0.8.5"
}
jacocoTestReport {
reports {
xml.enabled = true
csv.enabled = false
html.enabled = false
}
afterEvaluate {
classDirectories.setFrom(files(classDirectories.files.collect {
fileTree(dir: it,
exclude: ['**/proto/**/*'])
}))
}
dependsOn(test)
}
}
tasks.named('wrapper') {
distributionType = Wrapper.DistributionType.ALL distributionType = Wrapper.DistributionType.ALL
} }
...@@ -111,14 +48,6 @@ dependencies { ...@@ -111,14 +48,6 @@ dependencies {
implementation 'commons-cli:commons-cli:1.4' implementation 'commons-cli:commons-cli:1.4'
} }
allprojects {
dependencies {
annotationProcessor "org.projectlombok:lombok:1.18.12"
compileOnly "org.projectlombok:lombok:1.18.12"
permitUnusedDeclared "org.projectlombok:lombok:1.18.12"
}
}
application { application {
mainClass.set('edu.tigers.autoref.AutoReferee') mainClass.set('edu.tigers.autoref.AutoReferee')
applicationDefaultJvmArgs = [ applicationDefaultJvmArgs = [
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment