chore: specify project name in properties

This commit is contained in:
2023-12-28 23:27:45 +08:00
parent 0ea6807231
commit 4e01ddacc3
3 changed files with 3 additions and 1 deletions

View File

@@ -1,5 +1,6 @@
# Project Configuration
project.name=SweetDependency
project.url=https://github.com/HighCapable/SweetDependency
project.groupName=com.highcapable.sweetdependency
project.moduleName=sweet-dependency
project.version=1.0.4

View File

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

View File

@@ -50,5 +50,5 @@ object SweetDependency {
const val VERSION = SweetDependencyProperties.PROJECT_VERSION
/** 项目地址 */
const val PROJECT_URL = SweetDependencyProperties.POM_URL
const val PROJECT_URL = SweetDependencyProperties.PROJECT_URL
}