chore: specify project name in properties

This commit is contained in:
2023-12-28 23:29:38 +08:00
parent 59453292f3
commit 89626aeca7
3 changed files with 3 additions and 1 deletions

View File

@@ -1,5 +1,6 @@
# Project Configuration # Project Configuration
project.name=SweetProperty project.name=SweetProperty
project.url=https://github.com/HighCapable/SweetProperty
project.groupName=com.highcapable.sweetproperty project.groupName=com.highcapable.sweetproperty
project.moduleName=sweet-property project.moduleName=sweet-property
project.version=1.0.5 project.version=1.0.5

View File

@@ -17,6 +17,7 @@ sweetProperty {
global { global {
sourcesCode { sourcesCode {
className = rootProject.name className = rootProject.name
includeKeys("^project\\..*\$".toRegex())
isEnableRestrictedAccess = true isEnableRestrictedAccess = true
} }
} }

View File

@@ -35,5 +35,5 @@ object SweetProperty {
const val VERSION = SweetPropertyProperties.PROJECT_VERSION const val VERSION = SweetPropertyProperties.PROJECT_VERSION
/** 项目地址 */ /** 项目地址 */
const val PROJECT_URL = SweetPropertyProperties.POM_URL const val PROJECT_URL = SweetPropertyProperties.PROJECT_URL
} }