Skip to content

Commit 1b52c30

Browse files
remove dependency declared twice (#21628)
* remove dependency declared twice * remove dependency declared twice
1 parent 8a95c5c commit 1b52c30

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

airbyte-integrations/bases/standard-destination-test/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ dependencies {
99
implementation project(':airbyte-json-validation')
1010
implementation project(':airbyte-integrations:bases:base-java')
1111
implementation project(':airbyte-protocol:protocol-models')
12-
implementation project(':airbyte-commons-worker')
1312

1413
implementation(enforcedPlatform('org.junit:junit-bom:5.8.2'))
1514
implementation 'org.junit.jupiter:junit-jupiter-api'

airbyte-integrations/bases/standard-source-test/build.gradle

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ dependencies {
1717
implementation project(':airbyte-config:config-models')
1818
implementation project(':airbyte-config:config-persistence')
1919
implementation project(':airbyte-protocol:protocol-models')
20-
implementation project(':airbyte-commons-worker')
2120
implementation 'org.mockito:mockito-core:4.6.1'
2221

2322
implementation 'net.sourceforge.argparse4j:argparse4j:0.8.1'
@@ -30,7 +29,7 @@ dependencies {
3029

3130
def getFullPath(String className) {
3231
def matchingFiles = project.fileTree("src/main/java")
33-
.filter { file -> file.getName().equals("${className}.java".toString())}.asCollection()
32+
.filter { file -> file.getName().equals("${className}.java".toString()) }.asCollection()
3433
if (matchingFiles.size() == 0) {
3534
throw new IllegalArgumentException("Ambiguous class name ${className}: no file found.")
3635
}
@@ -51,14 +50,15 @@ task generateSourceTestDocs(type: Javadoc) {
5150
destinationDir = javadocOutputDir
5251

5352
doLast {
54-
def className = "SourceAcceptanceTest" // this can be made into a list once we have multiple standard tests, and can also be used for destinations
53+
def className = "SourceAcceptanceTest"
54+
// this can be made into a list once we have multiple standard tests, and can also be used for destinations
5555
def pathInPackage = getFullPath(className)
5656
def stdSrcTest = project.file("${javadocOutputDir}/${pathInPackage}.html").readLines().join("\n")
5757
def methodList = Jsoup.parse(stdSrcTest).body().select("section.methodDetails>ul>li>section")
5858
def md = ""
59-
for (methodInfo in methodList){
59+
for (methodInfo in methodList) {
6060
def annotations = methodInfo.select(".memberSignature>.annotations").text()
61-
if (!annotations.contains("@Test")){
61+
if (!annotations.contains("@Test")) {
6262
continue
6363
}
6464
def methodName = methodInfo.selectFirst("div>span.memberName").text()
@@ -73,7 +73,7 @@ task generateSourceTestDocs(type: Javadoc) {
7373
outputDoc.append md
7474
}
7575

76-
outputs.upToDateWhen {false}
76+
outputs.upToDateWhen { false }
7777
}
7878

7979
project.build.dependsOn(generateSourceTestDocs)

0 commit comments

Comments
 (0)