We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bd3ac63 + 1ac304b commit 8771aa5Copy full SHA for 8771aa5
build.gradle
@@ -16,6 +16,10 @@ plugins {
16
id 'com.jfrog.bintray' version '1.8.5'
17
}
18
19
+java {
20
+ modularity.inferModulePath = true
21
+}
22
+
23
// In this section you declare where to find the dependencies of your project
24
repositories {
25
// Use jcenter for resolving your dependencies.
@@ -54,6 +58,12 @@ def pomConfig = {
54
58
//Maven Central Release: publishMavenCentralReleasePublicationToMaven2Repository
55
59
//Bintray Snapshot: publishSnapshotPublicationToMaven3Repository
56
60
61
+tasks.jar {
62
+ manifest {
63
+ attributes('Automatic-Module-Name': project.property('mavenGroupId'))
64
+ }
65
66
57
67
task sourceJar(type: Jar) {
68
outputs.cacheIf { true }
69
from sourceSets.main.allJava
0 commit comments