Skip to content

Commit

Permalink
Remove unnecessary test dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
glefloch committed Mar 15, 2021
1 parent e09fe0f commit 89d19db
Show file tree
Hide file tree
Showing 29 changed files with 5 additions and 118 deletions.
36 changes: 0 additions & 36 deletions integration-tests/gradle/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -89,21 +89,11 @@
<artifactId>quarkus-resteasy</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-resteasy-jsonb</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-test-devtools</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-vertx</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-arc-deployment</artifactId>
Expand Down Expand Up @@ -182,32 +172,6 @@
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-resteasy-jsonb-deployment</artifactId>
<version>${project.version}</version>
<type>pom</type>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>*</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-vertx-deployment</artifactId>
<version>${project.version}</version>
<type>pom</type>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>*</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- END update-dependencies.sh -->
</dependencies>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,5 @@ dependencies {
implementation(project(":common"))
implementation("io.quarkus:quarkus-resteasy")

testImplementation("io.quarkus:quarkus-junit5")
testImplementation("io.rest-assured:rest-assured")

implementation(enforcedPlatform("${quarkusPlatformGroupId}:${quarkusPlatformArtifactId}:${quarkusPlatformVersion}"))
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,5 @@ dependencies {
implementation project(":common")
implementation 'io.quarkus:quarkus-resteasy'

testImplementation 'io.quarkus:quarkus-junit5'
testImplementation 'io.rest-assured:rest-assured'

implementation enforcedPlatform("${quarkusPlatformGroupId}:${quarkusPlatformArtifactId}:${quarkusPlatformVersion}")
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ repositories {
dependencies {
implementation enforcedPlatform("${quarkusPlatformGroupId}:${quarkusPlatformArtifactId}:${quarkusPlatformVersion}")
implementation 'io.quarkus:quarkus-resteasy'

testImplementation 'io.quarkus:quarkus-junit5'
testImplementation 'io.rest-assured:rest-assured'
}

compileJava {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@ repositories {
dependencies {
api enforcedPlatform("${quarkusPlatformGroupId}:${quarkusPlatformArtifactId}:${quarkusPlatformVersion}")
api 'io.quarkus:quarkus-kubernetes-client'
api 'io.quarkus:quarkus-smallrye-health'

testImplementation 'io.quarkus:quarkus-junit5'
testImplementation 'io.rest-assured:rest-assured'
}

compileJava {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,10 @@ repositories {
}

dependencies {
implementation enforcedPlatform("${quarkusPlatformGroupId}:${quarkusPlatformArtifactId}:${quarkusPlatformVersion}")
implementation 'io.quarkus:quarkus-resteasy'

implementation platform(project(':platform'))
implementation 'io.quarkus:quarkus-resteasy'

testImplementation enforcedPlatform("${quarkusPlatformGroupId}:${quarkusPlatformArtifactId}:${quarkusPlatformVersion}")
testImplementation 'io.quarkus:quarkus-junit5'
testImplementation 'io.rest-assured:rest-assured'
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ allprojects {

subprojects{
repositories {
mavenCentral()
if (System.properties.containsKey('maven.repo.local')) {
maven {
url System.properties.get('maven.repo.local')
}
} else {
mavenLocal()
}
mavenCentral()
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ repositories {
dependencies {
constraints {
api enforcedPlatform("${quarkusPlatformGroupId}:${quarkusPlatformArtifactId}:${quarkusPlatformVersion}")
api 'io.quarkus:quarkus-kubernetes-client'
api "io.quarkus:quarkus-resteasy:${quarkusPlatformVersion}"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ subprojects {

dependencies {
implementation enforcedPlatform("io.quarkus:quarkus-bom:${quarkusPlatformVersion}")
implementation 'io.quarkus:quarkus-resteasy'
testImplementation 'io.quarkus:quarkus-junit5'
}

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ repositories {

dependencies {
implementation enforcedPlatform("io.quarkus:quarkus-bom:${quarkusPlatformVersion}")
implementation 'io.quarkus:quarkus-resteasy'
}

group 'org.acme'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ repositories {
dependencies {
implementation enforcedPlatform("${quarkusPlatformGroupId}:${quarkusPlatformArtifactId}:${quarkusPlatformVersion}")
implementation 'io.quarkus:quarkus-resteasy'

testImplementation 'io.quarkus:quarkus-junit5'
testImplementation 'io.rest-assured:rest-assured'
}

group 'org.acme'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ repositories {
dependencies {
implementation enforcedPlatform("${quarkusPlatformGroupId}:${quarkusPlatformArtifactId}:${quarkusPlatformVersion}")
implementation 'io.quarkus:quarkus-resteasy'

testImplementation 'io.quarkus:quarkus-junit5'
testImplementation 'io.rest-assured:rest-assured'
}

group 'org.acme'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,9 @@ repositories {
}

dependencies {
implementation 'io.quarkus:quarkus-grpc'
implementation enforcedPlatform("${quarkusPlatformGroupId}:${quarkusPlatformArtifactId}:${quarkusPlatformVersion}")
implementation 'io.quarkus:quarkus-resteasy'

testImplementation 'io.quarkus:quarkus-junit5'
implementation 'io.quarkus:quarkus-grpc'
}

group 'org.acme'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,4 @@ plugins {

dependencies {
implementation files("../common/build/libs/common.jar")

testImplementation 'io.quarkus:quarkus-junit5'
testImplementation 'io.rest-assured:rest-assured'
}
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,8 @@ subprojects {
}

dependencies {

implementation 'io.quarkus:quarkus-resteasy'

testImplementation 'io.quarkus:quarkus-junit5'
testImplementation 'io.rest-assured:rest-assured'

implementation enforcedPlatform("${quarkusPlatformGroupId}:${quarkusPlatformArtifactId}:${quarkusPlatformVersion}")

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ repositories {
dependencies {
implementation enforcedPlatform("${quarkusPlatformGroupId}:${quarkusPlatformArtifactId}:${quarkusPlatformVersion}")
implementation 'io.quarkus:quarkus-resteasy'
implementation 'io.quarkus:quarkus-vertx'

testImplementation 'io.quarkus:quarkus-junit5'
testImplementation 'io.rest-assured:rest-assured'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
dependencies {
implementation(project(":port"))
implementation("jakarta.enterprise:jakarta.enterprise.cdi-api")
implementation("jakarta.transaction:jakarta.transaction-api")
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ repositories {
dependencies {
api enforcedPlatform("${quarkusPlatformGroupId}:${quarkusPlatformArtifactId}:${quarkusPlatformVersion}")
api 'io.quarkus:quarkus-smallrye-health'

testImplementation 'io.quarkus:quarkus-junit5'
testImplementation 'io.rest-assured:rest-assured'
}

group 'org.acme'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ dependencies {
implementation 'io.quarkus:quarkus-resteasy'

implementation project(':common')

testImplementation 'io.quarkus:quarkus-junit5'
testImplementation 'io.rest-assured:rest-assured'
}

group 'org.acme'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ repositories {

dependencies {
implementation 'io.quarkus:quarkus-kotlin'
implementation 'io.quarkus:quarkus-grpc'
implementation enforcedPlatform("${quarkusPlatformGroupId}:${quarkusPlatformArtifactId}:${quarkusPlatformVersion}")
implementation 'io.quarkus:quarkus-resteasy'
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ dependencies {

implementation 'io.quarkus:quarkus-hibernate-orm-panache'
quarkusDev 'io.quarkus:quarkus-jdbc-h2'

testImplementation 'io.quarkus:quarkus-junit5'
testImplementation 'io.rest-assured:rest-assured'
}

compileJava {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ repositories {
}

dependencies {
implementation 'io.quarkus:quarkus-resteasy-jsonb'
implementation enforcedPlatform("${quarkusPlatformGroupId}:${quarkusPlatformArtifactId}:${quarkusPlatformVersion}")
implementation 'io.quarkus:quarkus-resteasy'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ repositories {
}

dependencies {
implementation 'io.quarkus:quarkus-resteasy-jsonb'
implementation enforcedPlatform("${quarkusPlatformGroupId}:${quarkusPlatformArtifactId}:${quarkusPlatformVersion}")
implementation 'io.quarkus:quarkus-resteasy'

// Library-2 has to be dependency as implementation and test fixture
implementation(project(':library-2'))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ repositories {
dependencies {
implementation enforcedPlatform("${quarkusPlatformGroupId}:${quarkusPlatformArtifactId}:${quarkusPlatformVersion}")
implementation 'io.quarkus:quarkus-resteasy'

testImplementation 'io.quarkus:quarkus-junit5'
testImplementation 'io.rest-assured:rest-assured'
}

group 'org.acme'
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ repositories {
dependencies {
implementation enforcedPlatform("${quarkusPlatformGroupId}:${quarkusPlatformArtifactId}:${quarkusPlatformVersion}")
implementation 'io.quarkus:quarkus-resteasy'

testImplementation 'io.quarkus:quarkus-junit5'
testImplementation 'io.rest-assured:rest-assured'
}

group 'org.acme'
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ repositories {
dependencies {
implementation enforcedPlatform("${quarkusPlatformGroupId}:${quarkusPlatformArtifactId}:${quarkusPlatformVersion}")
implementation 'io.quarkus:quarkus-resteasy'

testImplementation 'io.quarkus:quarkus-junit5'
testImplementation 'io.rest-assured:rest-assured'
}

group 'org.acme'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,8 @@ subprojects {
}

dependencies {

implementation 'io.quarkus:quarkus-resteasy'

testImplementation 'io.quarkus:quarkus-junit5'
testImplementation 'io.rest-assured:rest-assured'

implementation enforcedPlatform("${quarkusPlatformGroupId}:${quarkusPlatformArtifactId}:${quarkusPlatformVersion}")

}
}

0 comments on commit 89d19db

Please sign in to comment.