-
Notifications
You must be signed in to change notification settings - Fork 880
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Apply spotless to buildSrc * Apply spotless * Update spotless version * Apply spotless * Another spotless update * Apply spotless
- Loading branch information
Showing
10 changed files
with
70 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
plugins { | ||
id 'groovy' | ||
id 'java-gradle-plugin' | ||
id "com.diffplug.spotless" version "5.6.1" | ||
} | ||
|
||
spotless { | ||
java { | ||
googleJavaFormat() | ||
licenseHeaderFile rootProject.file('../gradle/enforcement/spotless.license.java'), '(package|import|public)' | ||
target 'src/**/*.java' | ||
} | ||
groovy { | ||
licenseHeaderFile rootProject.file('../gradle/enforcement/spotless.license.java'), '(package|import|class)' | ||
} | ||
} | ||
|
||
gradlePlugin { | ||
plugins { | ||
create("muzzle-plugin") { | ||
id = "muzzle" | ||
implementationClass = "MuzzlePlugin" | ||
} | ||
create("auto-instrumentation-plugin") { | ||
id = "io.opentelemetry.instrumentation.auto-instrumentation" | ||
implementationClass = "io.opentelemetry.instrumentation.gradle.AutoInstrumentationPlugin" | ||
} | ||
} | ||
} | ||
|
||
repositories { | ||
mavenLocal() | ||
jcenter() | ||
mavenCentral() | ||
} | ||
|
||
dependencies { | ||
implementation(gradleApi()) | ||
implementation(localGroovy()) | ||
|
||
implementation group: "org.eclipse.aether", name: "aether-connector-basic", version: "1.1.0" | ||
implementation group: "org.eclipse.aether", name: "aether-transport-http", version: "1.1.0" | ||
implementation group: "org.apache.maven", name: "maven-aether-provider", version: "3.3.9" | ||
|
||
implementation group: "com.google.guava", name: "guava", version: "20.0" | ||
implementation group: "org.ow2.asm", name: "asm", version: "7.0-beta" | ||
implementation group: "org.ow2.asm", name: "asm-tree", version: "7.0-beta" | ||
implementation group: "org.apache.httpcomponents", name: "httpclient", version: "4.5.10" | ||
|
||
testImplementation group: "org.spockframework", name: "spock-core", version: "1.3-groovy-2.5" | ||
testImplementation group: "org.codehaus.groovy", name: "groovy-all", version: "2.5.8" | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 1 addition & 12 deletions
13
...dSrc/src/main/java/io/opentelemetry/instrumentation/gradle/AutoInstrumentationPlugin.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
instrumentation/log4j/log4j-1.2/src/test/resources/log4j.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
log4j.rootLogger=INFO, LIST | ||
log4j.appender.LIST=ListAppender | ||
log4j.appender.LIST=ListAppender |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters