From 895ba1b4e99c456873bfd36fd2662af25b1084e2 Mon Sep 17 00:00:00 2001 From: Rishabh Singh Date: Fri, 27 Aug 2021 22:46:09 +0530 Subject: [PATCH] chore: Upgrade gradle version (#84) * Upgrade gradle version * Fix build * Upgrade gradle to 7.2 --- gradle/wrapper/gradle-wrapper.properties | 2 +- query-service-api/build.gradle.kts | 6 +----- settings.gradle.kts | 2 +- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 1f3fdbc5..a0f7639f 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/query-service-api/build.gradle.kts b/query-service-api/build.gradle.kts index 3dfae269..c56239f4 100644 --- a/query-service-api/build.gradle.kts +++ b/query-service-api/build.gradle.kts @@ -51,11 +51,7 @@ protobuf { sourceSets { main { java { - srcDirs("src/main/java", "build/generated/source/proto/main/java", "build/generated/source/proto/main/grpc_java") - } - - proto { - srcDirs("src/main/proto") + srcDirs("build/generated/source/proto/main/java", "build/generated/source/proto/main/grpc_java") } } } diff --git a/settings.gradle.kts b/settings.gradle.kts index 3a988376..0dfa5d7e 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -1,4 +1,4 @@ -rootProject.name = "query-service" +rootProject.name = "query-service-root" pluginManagement { repositories {