Skip to content

Commit 1eb92d0

Browse files
add google-java-formater
1 parent 8ecc968 commit 1eb92d0

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

build.gradle

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,22 @@ group 'com.cisco.trex'
22

33
apply plugin: 'java'
44
apply plugin: 'maven'
5+
apply plugin: 'com.github.sherter.google-java-format'
56

67
sourceCompatibility = 1.8
78
targetCompatibility = 1.8
89

10+
buildscript {
11+
repositories {
12+
maven {
13+
url "https://plugins.gradle.org/m2/"
14+
}
15+
}
16+
dependencies {
17+
classpath "gradle.plugin.com.github.sherter.google-java-format:google-java-format-gradle-plugin:0.8"
18+
}
19+
}
20+
921
repositories {
1022
mavenCentral()
1123
}

0 commit comments

Comments
 (0)