Skip to content
Snippets Groups Projects
Commit 36831ca4 authored by Björn Vonheiden's avatar Björn Vonheiden
Browse files

Remove eclipse plugin from gradle subprojects and configure in root

parent 40fd6d50
No related branches found
No related tags found
No related merge requests found
apply plugin: 'java-library'
apply plugin: 'pmd'
apply plugin: 'checkstyle'
apply plugin: 'com.github.spotbugs'
apply plugin: 'eclipse'
// Inherited to all subprojects
buildscript {
repositories {
maven {
......@@ -15,6 +10,18 @@ buildscript {
}
}
allprojects {
apply plugin: 'eclipse'
}
apply plugin: 'java-library'
apply plugin: 'pmd'
apply plugin: 'checkstyle'
apply plugin: 'com.github.spotbugs'
sourceCompatibility = "1.11"
targetCompatibility = "1.11"
......@@ -23,7 +30,7 @@ configurations.all {
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
}
allprojects {
allprojects {
repositories {
jcenter()
maven {
......@@ -83,7 +90,7 @@ tasks.withType(com.github.spotbugs.SpotBugsTask) {
task checkstyle {
group 'Quality Assurance'
description 'Run Checkstyle'
dependsOn 'checkstyleMain'
dependsOn 'checkstyleTest'
}
......@@ -99,14 +106,16 @@ task pmd {
task spotbugs {
group 'Quality Assurance'
description 'Run SpotBugs'
dependsOn 'spotbugsMain'
dependsOn 'spotbugsTest'
}
eclipse {
classpath {
downloadSources=true
downloadJavadoc=true
}
}
\ No newline at end of file
allprojects {
eclipse {
classpath {
downloadSources=true
downloadJavadoc=true
}
}
}
apply plugin: 'application'
apply plugin: 'eclipse'
buildscript {
repositories {
......@@ -14,7 +13,7 @@ targetCompatibility = "1.11"
dependencies {
compile project(':')
compile 'org.slf4j:slf4j-simple:1.6.1'
// Use JUnit test framework
......@@ -22,10 +21,3 @@ dependencies {
}
mainClassName = "uc1.application.HistoryService"
eclipse {
classpath {
downloadSources=true
downloadJavadoc=true
}
}
\ No newline at end of file
apply plugin: 'application'
apply plugin: 'eclipse'
buildscript {
repositories {
......@@ -14,7 +13,7 @@ targetCompatibility = "1.11"
dependencies {
compile project(':')
compile 'org.slf4j:slf4j-simple:1.6.1'
// Use JUnit test framework
......@@ -22,10 +21,3 @@ dependencies {
}
mainClassName = "uc1.workloadGenerator.LoadGenerator"
eclipse {
classpath {
downloadSources=true
downloadJavadoc=true
}
}
\ No newline at end of file
apply plugin: 'application'
apply plugin: 'eclipse'
buildscript {
repositories {
......@@ -14,7 +13,7 @@ targetCompatibility = "1.11"
dependencies {
compile project(':')
compile 'org.slf4j:slf4j-simple:1.6.1'
// Use JUnit test framework
......@@ -22,10 +21,3 @@ dependencies {
}
mainClassName = "uc2.application.AggregationService"
eclipse {
classpath {
downloadSources=true
downloadJavadoc=true
}
}
\ No newline at end of file
apply plugin: 'application'
apply plugin: 'eclipse'
buildscript {
repositories {
......@@ -14,7 +13,7 @@ targetCompatibility = "1.11"
dependencies {
compile project(':')
compile 'org.slf4j:slf4j-simple:1.6.1'
// Use JUnit test framework
......@@ -22,10 +21,3 @@ dependencies {
}
mainClassName = "uc2.workloadGenerator.LoadGenerator"
eclipse {
classpath {
downloadSources=true
downloadJavadoc=true
}
}
\ No newline at end of file
apply plugin: 'application'
apply plugin: 'eclipse'
buildscript {
repositories {
......@@ -12,7 +11,7 @@ buildscript {
sourceCompatibility = "1.11"
targetCompatibility = "1.11"
allprojects {
allprojects {
repositories {
jcenter()
maven {
......@@ -26,7 +25,7 @@ allprojects {
dependencies {
compile project(':')
compile('org.industrial-devops:titan-ccp-common-kafka:0.1.0-SNAPSHOT')
compile 'org.slf4j:slf4j-simple:1.6.1'
......@@ -35,10 +34,3 @@ dependencies {
}
mainClassName = "uc3.application.HistoryService"
eclipse {
classpath {
downloadSources=true
downloadJavadoc=true
}
}
\ No newline at end of file
apply plugin: 'application'
apply plugin: 'eclipse'
buildscript {
repositories {
......@@ -14,7 +13,7 @@ targetCompatibility = "1.11"
dependencies {
compile project(':')
compile 'org.slf4j:slf4j-simple:1.6.1'
// Use JUnit test framework
......@@ -22,10 +21,3 @@ dependencies {
}
mainClassName = "uc3.workloadGenerator.LoadGenerator"
eclipse {
classpath {
downloadSources=true
downloadJavadoc=true
}
}
\ No newline at end of file
apply plugin: 'application'
apply plugin: 'eclipse'
buildscript {
repositories {
......@@ -12,7 +11,7 @@ buildscript {
sourceCompatibility = "1.11"
targetCompatibility = "1.11"
allprojects {
allprojects {
repositories {
jcenter()
maven {
......@@ -26,7 +25,7 @@ allprojects {
dependencies {
compile project(':')
compile 'org.slf4j:slf4j-simple:1.6.1'
compile('org.industrial-devops:titan-ccp-common-kafka:0.1.0-SNAPSHOT')
......@@ -35,10 +34,3 @@ dependencies {
}
mainClassName = "uc4.application.HistoryService"
eclipse {
classpath {
downloadSources=true
downloadJavadoc=true
}
}
apply plugin: 'application'
apply plugin: 'eclipse'
buildscript {
repositories {
......@@ -14,7 +13,7 @@ targetCompatibility = "1.11"
dependencies {
compile project(':')
compile 'org.slf4j:slf4j-simple:1.6.1'
// Use JUnit test framework
......@@ -22,10 +21,3 @@ dependencies {
}
mainClassName = "uc4.workloadGenerator.LoadGenerator"
eclipse {
classpath {
downloadSources=true
downloadJavadoc=true
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment