Skip to content

Commit

Permalink
Reenable Gradle format task - use with care
Browse files Browse the repository at this point in the history
  • Loading branch information
koppor committed Aug 6, 2015
1 parent 1e68e31 commit f6267c0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions build.gradle
Expand Up @@ -5,6 +5,7 @@ plugins {
id "edu.sc.seis.launch4j" version "1.1.4"
id "com.github.kt3k.coveralls" version "2.4.0"
id "edu.sc.seis.macAppBundle" version "2.1.1"
id "com.github.youribonnaffe.gradle.format" version "1.2"
}

apply plugin: "java"
Expand Down Expand Up @@ -176,6 +177,13 @@ jacocoTestReport {
}
}

// enables `gradlew format`. Currently `LabelPatternUtil.java` is destroyed. Use with care!
format {
configurationFile = file('ide-settings/formatter_settings.xml')
// default: reformat main and test
//files = sourceSets.main.java
}

fatJar {
classifier 'fat'
manifest {
Expand Down

0 comments on commit f6267c0

Please sign in to comment.