diff --git a/rules_java_gapic/resources/gradle/client_grpc.gradle.tmpl b/rules_java_gapic/resources/gradle/client_grpc.gradle.tmpl index fd50ee1bb5..212424aa44 100644 --- a/rules_java_gapic/resources/gradle/client_grpc.gradle.tmpl +++ b/rules_java_gapic/resources/gradle/client_grpc.gradle.tmpl @@ -33,14 +33,6 @@ test { exclude "**/*SmokeTest*" } -sourceSets { - main { - java { - srcDir 'src/main/java' - } - } -} - clean { delete 'all-jars' } diff --git a/rules_java_gapic/resources/gradle/client_grpcrest.gradle.tmpl b/rules_java_gapic/resources/gradle/client_grpcrest.gradle.tmpl index 7196e05c6f..fdb11306bf 100644 --- a/rules_java_gapic/resources/gradle/client_grpcrest.gradle.tmpl +++ b/rules_java_gapic/resources/gradle/client_grpcrest.gradle.tmpl @@ -35,14 +35,6 @@ test { exclude "**/*SmokeTest*" } -sourceSets { - main { - java { - srcDir 'src/main/java' - } - } -} - clean { delete 'all-jars' } diff --git a/rules_java_gapic/resources/gradle/client_rest.gradle.tmpl b/rules_java_gapic/resources/gradle/client_rest.gradle.tmpl index 18529a310f..ad61924fd7 100644 --- a/rules_java_gapic/resources/gradle/client_rest.gradle.tmpl +++ b/rules_java_gapic/resources/gradle/client_rest.gradle.tmpl @@ -30,14 +30,6 @@ test { exclude "**/*SmokeTest*" } -sourceSets { - main { - java { - srcDir 'src/main/java' - } - } -} - clean { delete 'all-jars' } diff --git a/rules_java_gapic/resources/gradle/grpc.gradle.tmpl b/rules_java_gapic/resources/gradle/grpc.gradle.tmpl index 82255b458c..86026f1675 100644 --- a/rules_java_gapic/resources/gradle/grpc.gradle.tmpl +++ b/rules_java_gapic/resources/gradle/grpc.gradle.tmpl @@ -16,14 +16,6 @@ dependencies { {{extra_deps}} } -sourceSets { - main { - java { - srcDir 'src/main/java' - } - } -} - task javadocJar(type: Jar) { classifier = 'javadoc' from javadoc diff --git a/rules_java_gapic/resources/gradle/proto.gradle.tmpl b/rules_java_gapic/resources/gradle/proto.gradle.tmpl index 192577c4ed..64a9be13ea 100644 --- a/rules_java_gapic/resources/gradle/proto.gradle.tmpl +++ b/rules_java_gapic/resources/gradle/proto.gradle.tmpl @@ -23,9 +23,6 @@ sourceSets { resources { srcDir 'src/main/proto' } - java { - srcDir 'src/main/java' - } } }