Skip to content

Commit

Permalink
Merge pull request #28 from codefreak/feature/simplify-java-template
Browse files Browse the repository at this point in the history
Remove unused java plugins and use gradle application plugin
  • Loading branch information
erikhofer authored Mar 12, 2021
2 parents c18ea83 + 6b8b608 commit f075378
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions templates/java/build.gradle
Original file line number Diff line number Diff line change
@@ -1,25 +1,18 @@
plugins {
id "com.diffplug.spotless" version "5.3.0"
id "pmd"
id "eclipse"
id "application"
}
apply plugin: 'java'
apply plugin: 'com.diffplug.spotless'

dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.3.1'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.3.1'
}

sourceCompatibility = 1.8
targetCompatibility = 1.8

repositories {
mavenCentral()
}

pmd {
consoleOutput = true
application {
mainClass = 'Main'
}

test {
Expand Down

0 comments on commit f075378

Please sign in to comment.