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.
1 parent 727bdb4 commit 34c991bCopy full SHA for 34c991b
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.
@@ -48,6 +52,12 @@ def pomConfig = {
48
52
//Maven Central Release: publishMavenCentralReleasePublicationToMaven2Repository
49
53
//Bintray Snapshot: publishSnapshotPublicationToMaven3Repository
50
54
55
+tasks.jar {
56
+ manifest {
57
+ attributes('Automatic-Module-Name': project.property('mavenGroupId'))
58
+ }
59
60
51
61
task sourceJar(type: Jar) {
62
from sourceSets.main.allJava
63
archiveClassifier = 'sources'
0 commit comments