Skip to content
This repository was archived by the owner on Oct 16, 2024. It is now read-only.

Commit 3d832c6

Browse files
authored
Merge pull request #235 from google/gjf_1.2
Upgrade to google-java-format v1.2
2 parents 2e300ec + cbf0296 commit 3d832c6

11 files changed

+936
-1353
lines changed

build.gradle

+1-15
Original file line numberDiff line numberDiff line change
@@ -107,28 +107,14 @@ jar {
107107
shadowJar {
108108
classifier = null
109109

110-
['com.google', 'org.apache', 'org.eclipse', 'org.osgi'].each {
110+
['com.google', 'org.apache', 'org.openjdk', 'org.osgi'].each {
111111
relocate it, "org.inferred.freebuilder.shaded.$it"
112112
}
113113

114114
// Exclude common META-INF detritus
115115
exclude 'META-INF/*.txt'
116116
exclude 'META-INF/maven/**'
117117

118-
// Exclude Eclipse (via google-java-format) detritus
119-
exclude 'META-INF/eclipse.inf'
120-
exclude 'META-INF/services/org.osgi.*'
121-
exclude '.api_description'
122-
exclude '.options'
123-
exclude 'about.html'
124-
exclude 'about_files/*.txt'
125-
exclude 'ant_tasks/*'
126-
exclude 'plugin.xml'
127-
exclude 'jdtCompilerAdapter.jar'
128-
exclude '*.profile'
129-
exclude '*.properties'
130-
exclude '*.list'
131-
132118
// Exclude all of jsr305 except Nullable, Nonnull and meta.When
133119
exclude 'javax/annotation/C*'
134120
exclude 'javax/annotation/D*'

gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
autoService=com.google.auto.service:auto-service:1.0-rc2
22
commonsLang3=org.apache.commons:commons-lang3:3.4
3-
googleJavaFormat=com.google.googlejavaformat:google-java-format:1.0
3+
googleJavaFormat=com.google.googlejavaformat:google-java-format:1.2
44
guava=com.google.guava:guava:16.0
55
guavaTestlib=com.google.guava:guava-testlib:17.0
66
gwtUser=com.google.gwt:gwt-user:2.6.1

0 commit comments

Comments
 (0)