Sfoglia il codice sorgente

Merge pull request #4314 from tomalloc/3.0

添加自动模块配置
miemieYaho 3 anni fa
parent
commit
22f499af2e
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      build.gradle

+ 1 - 0
build.gradle

@@ -127,6 +127,7 @@ subprojects {
                 attributes 'Built-By': System.getProperty("user.name")
                 attributes 'Build-Jdk': System.getProperty("java.version")
                 attributes 'Build-Timestamp': LocalDateTime.now().format("yyyy-MM-dd HH:mm:ss")
+                attributes 'Automatic-Module-Name': "${project.group}.${project.name.replaceAll("-",".")}"
             }
         }
     }