Skip to content

Commit 4a365d6

Browse files
Refactor code to split labels into api and impl (#121)
1 parent 32925e2 commit 4a365d6

33 files changed

+25
-3
lines changed

hypertrace-graphql-entity-schema/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ dependencies {
2929
implementation("org.hypertrace.core.graphql:hypertrace-core-graphql-deserialization")
3030
implementation("org.hypertrace.core.graphql:hypertrace-core-graphql-rx-utils")
3131

32-
implementation(project(":hypertrace-graphql-labels-schema"))
32+
implementation(project(":hypertrace-graphql-labels-schema-api"))
3333

3434
testImplementation("org.junit.jupiter:junit-jupiter")
3535
testImplementation("org.mockito:mockito-core")

hypertrace-graphql-impl/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ dependencies {
3131
implementation(project(":hypertrace-graphql-explorer-context"))
3232
implementation(project(":hypertrace-graphql-entity-type"))
3333
implementation(project(":hypertrace-graphql-spaces-schema"))
34-
implementation(project(":hypertrace-graphql-labels-schema"))
34+
implementation(project(":hypertrace-graphql-labels-schema-impl"))
3535
implementation(project(":hypertrace-graphql-label-application-rules-schema"))
3636

3737
implementation("org.slf4j:slf4j-api")
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
plugins {
2+
`java-library`
3+
jacoco
4+
id("org.hypertrace.jacoco-report-plugin")
5+
}
6+
7+
dependencies {
8+
api("com.google.inject:guice")
9+
api("com.graphql-java:graphql-java")
10+
api("org.hypertrace.core.graphql:hypertrace-core-graphql-spi")
11+
api("io.github.graphql-java:graphql-java-annotations")
12+
api("org.hypertrace.core.graphql:hypertrace-core-graphql-common-schema")
13+
14+
annotationProcessor("org.projectlombok:lombok")
15+
compileOnly("org.projectlombok:lombok")
16+
}
17+
18+
tasks.test {
19+
useJUnitPlatform()
20+
}

0 commit comments

Comments
 (0)