| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 08a44b9 commit 41552bf
23 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -65,6 +65,9 @@ tasks.named("javadoc").configure { | |||
| 65 | 65 | tasks.named("jar").configure { | |
| 66 | 66 | // Must use a different archiveClassifier to avoid conflicting with shadowJar | |
| 67 | 67 | archiveClassifier = 'original' | |
| 68 | + manifest { | ||
| 69 | + attributes('Automatic-Module-Name': 'io.grpc.alts') | ||
| 70 | + } | ||
| 68 | 71 | } | |
| 69 | 72 | ||
| 70 | 73 | // We want to use grpc-netty-shaded instead of grpc-netty. But we also want our | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -21,6 +21,11 @@ compileContextJava { | |||
| 21 | 21 | targetCompatibility = 1.7 | |
| 22 | 22 | } | |
| 23 | 23 | ||
| 24 | + tasks.named("jar").configure { | ||
| 25 | + manifest { | ||
| 26 | + attributes('Automatic-Module-Name': 'io.grpc') | ||
| 27 | + } | ||
| 28 | + } | ||
| 24 | 29 | ||
| 25 | 30 | dependencies { | |
| 26 | 31 | compileOnly sourceSets.context.output | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -7,6 +7,13 @@ plugins { | |||
| 7 | 7 | } | |
| 8 | 8 | ||
| 9 | 9 | description = "gRPC: Auth" | |
| 10 | + | ||
| 11 | + tasks.named("jar").configure { | ||
| 12 | + manifest { | ||
| 13 | + attributes('Automatic-Module-Name': 'io.grpc.auth') | ||
| 14 | + } | ||
| 15 | + } | ||
| 16 | + | ||
| 10 | 17 | dependencies { | |
| 11 | 18 | api project(':grpc-api'), | |
| 12 | 19 | libraries.google.auth.credentials | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -18,6 +18,12 @@ configurations { | |||
| 18 | 18 | alpnagent | |
| 19 | 19 | } | |
| 20 | 20 | ||
| 21 | + tasks.named("jar").configure { | ||
| 22 | + manifest { | ||
| 23 | + attributes('Automatic-Module-Name': 'io.grpc.benchmarks') | ||
| 24 | + } | ||
| 25 | + } | ||
| 26 | + | ||
| 21 | 27 | dependencies { | |
| 22 | 28 | implementation project(':grpc-core'), | |
| 23 | 29 | project(':grpc-netty'), | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -7,6 +7,12 @@ plugins { | |||
| 7 | 7 | ||
| 8 | 8 | description = 'gRPC: Census' | |
| 9 | 9 | ||
| 10 | + tasks.named("jar").configure { | ||
| 11 | + manifest { | ||
| 12 | + attributes('Automatic-Module-Name': 'io.grpc.census') | ||
| 13 | + } | ||
| 14 | + } | ||
| 15 | + | ||
| 10 | 16 | dependencies { | |
| 11 | 17 | api project(':grpc-api') | |
| 12 | 18 | // force dependent jars to depend on latest grpc-context | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -56,6 +56,12 @@ tasks.named("javadoc").configure { | |||
| 56 | 56 | exclude 'io/grpc/perfmark/**' | |
| 57 | 57 | } | |
| 58 | 58 | ||
| 59 | + tasks.named("jar").configure { | ||
| 60 | + manifest { | ||
| 61 | + attributes('Automatic-Module-Name': 'io.grpc.internal') | ||
| 62 | + } | ||
| 63 | + } | ||
| 64 | + | ||
| 59 | 65 | animalsniffer { | |
| 60 | 66 | // Don't check sourceSets.jmh | |
| 61 | 67 | sourceSets = [ | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -19,6 +19,12 @@ tasks.named("compileJava").configure { | |||
| 19 | 19 | "|") | |
| 20 | 20 | } | |
| 21 | 21 | ||
| 22 | + tasks.named("jar").configure { | ||
| 23 | + manifest { | ||
| 24 | + attributes('Automatic-Module-Name': 'io.grpc.gcp.observability') | ||
| 25 | + } | ||
| 26 | + } | ||
| 27 | + | ||
| 22 | 28 | dependencies { | |
| 23 | 29 | annotationProcessor libraries.auto.value | |
| 24 | 30 | api project(':grpc-api') | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -7,6 +7,12 @@ plugins { | |||
| 7 | 7 | ||
| 8 | 8 | description = 'gRPC: googleapis' | |
| 9 | 9 | ||
| 10 | + tasks.named("jar").configure { | ||
| 11 | + manifest { | ||
| 12 | + attributes('Automatic-Module-Name': 'io.grpc.googleapis') | ||
| 13 | + } | ||
| 14 | + } | ||
| 15 | + | ||
| 10 | 16 | dependencies { | |
| 11 | 17 | api project(':grpc-api') | |
| 12 | 18 | implementation project(path: ':grpc-alts', configuration: 'shadow'), | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -9,6 +9,12 @@ plugins { | |||
| 9 | 9 | ||
| 10 | 10 | description = "gRPC: GRPCLB LoadBalancer plugin" | |
| 11 | 11 | ||
| 12 | + tasks.named("jar").configure { | ||
| 13 | + manifest { | ||
| 14 | + attributes('Automatic-Module-Name': 'io.grpc.grpclb') | ||
| 15 | + } | ||
| 16 | + } | ||
| 17 | + | ||
| 12 | 18 | dependencies { | |
| 13 | 19 | implementation project(':grpc-core'), | |
| 14 | 20 | project(':grpc-protobuf'), | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -7,6 +7,12 @@ plugins { | |||
| 7 | 7 | ||
| 8 | 8 | description = 'gRPC: Inprocess' | |
| 9 | 9 | ||
| 10 | + tasks.named("jar").configure { | ||
| 11 | + manifest { | ||
| 12 | + attributes('Automatic-Module-Name': 'io.grpc.inprocess') | ||
| 13 | + } | ||
| 14 | + } | ||
| 15 | + | ||
| 10 | 16 | dependencies { | |
| 11 | 17 | api project(':grpc-core') | |
| 12 | 18 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments