2 Commits

Author SHA1 Message Date
d04a57c549 Bump version to 1.0.8 2025-08-19 13:29:34 +08:00
308f1618ab refactor: change update checking url in PluginUpdateHelper 2025-08-19 13:25:51 +08:00
5 changed files with 10 additions and 8 deletions

View File

@@ -40,10 +40,11 @@
- 修复遇到特殊字符和重复键值名称造成代码生成失败的严重问题
## 1.0.7 | 2025.08.19
## 1.0.8 | 2025.08.19
- 修复在新版 Android Gradle Plugin 及 Android Studio/IDEA 中部署源码路径时的错误
`removeContentEntry: removed content entry url 'build/generated/sweet-property' still exists after removing`
- 新增 `sourceSetName` 方法,允许自定义要部署的源集名称
- 修复在类型自动转换过程中某些 `commit id` 和 Hash 可能被识别为数值类型的问题
- 合并 [#1](https://github.com/HighCapable/SweetProperty/pull/1) 并重新发布版本 (1.0.7)
- 合并 [#1](https://github.com/HighCapable/SweetProperty/pull/1) 并重新发布版本 (1.0.6)
- 修复由于 OSS 存储库被弃用导致重复提示检查更新的问题 (1.0.7)

View File

@@ -41,10 +41,11 @@
- Fix a serious issue that caused code generation failure when encountering special characters and duplicate key-value names
## 1.0.7 | 2025.08.19
## 1.0.8 | 2025.08.19
- Fix errors when deploying source code paths in the new version of Android Gradle Plugin and Android Studio/IDEA
`removeContentEntry: removed content entry url 'build/generated/sweet-property' still exists after removing`
- Added the `sourceSetName` method to allow customization of the source set name to be deployed
- Fix an issue where some `commit id` and Hash might be recognized as numeric types during the automatic type conversion process
- Merge [#1](https://github.com/HighCapable/SweetProperty/pull/1) and re-release the version (1.0.7)
- Merge [#1](https://github.com/HighCapable/SweetProperty/pull/1) and re-release version (1.0.6)
- Fix a duplicate prompt for updates due to deprecating the OSS repository (1.0.7)

View File

@@ -3,7 +3,7 @@ project.name=SweetProperty
project.url=https://github.com/HighCapable/SweetProperty
project.groupName=com.highcapable.sweetproperty
project.moduleName=sweet-property
project.version=1.0.7
project.version=1.0.8
# Gradle Plugin Configuration
gradle.plugin.moduleName=${project.groupName}.gradle.plugin
gradle.plugin.implementationClass=${project.groupName}.plugin.SweetPropertyPlugin

View File

@@ -8,7 +8,7 @@ pluginManagement {
}
plugins {
id("com.highcapable.sweetdependency") version "1.0.4"
id("com.highcapable.sweetproperty") version "1.0.7"
id("com.highcapable.sweetproperty") version "1.0.8"
}
sweetDependency {
isEnableVerboseMode = false

View File

@@ -35,8 +35,8 @@ import javax.xml.parsers.DocumentBuilderFactory
*/
internal object PluginUpdateHelper {
/** OSS Release URL 地址 */
private const val SONATYPE_OSS_RELEASES_URL = "https://s01.oss.sonatype.org/content/repositories/releases"
/** Maven Central Release URL 地址 */
private const val SONATYPE_OSS_RELEASES_URL = "https://repo1.maven.org/maven2"
/** 依赖配置文件名 */
private const val METADATA_FILE_NAME = "maven-metadata.xml"