Skip to content

Commit 1d42c8d

Browse files
authored
Merge branch 'dev' into feature/version-1-0-5
2 parents 02606ac + 546f12e commit 1d42c8d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

build.gradle

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ plugins {
1616
id 'com.jfrog.bintray' version '1.8.5'
1717
}
1818

19+
java {
20+
modularity.inferModulePath = true
21+
}
22+
1923
// In this section you declare where to find the dependencies of your project
2024
repositories {
2125
// Use jcenter for resolving your dependencies.
@@ -48,6 +52,12 @@ def pomConfig = {
4852
//Maven Central Release: publishMavenCentralReleasePublicationToMaven2Repository
4953
//Bintray Snapshot: publishSnapshotPublicationToMaven3Repository
5054

55+
tasks.jar {
56+
manifest {
57+
attributes('Automatic-Module-Name': project.property('mavenGroupId') + '.core')
58+
}
59+
}
60+
5161
task sourceJar(type: Jar) {
5262
from sourceSets.main.allJava
5363
archiveClassifier = 'sources'

0 commit comments

Comments
 (0)