Explorar o código

Merge pull request #4314 from tomalloc/3.0

添加自动模块配置
miemieYaho %!s(int64=3) %!d(string=hai) anos
pai
achega
22f499af2e
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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("-",".")}"
             }
         }
     }