Skip to content

Commit

Permalink
fix: 兼容AGP 7.4.1
Browse files Browse the repository at this point in the history
漏了在pom中声明json-simple的依赖。
升级AGP后没有传递来的依赖就找不到类了。
  • Loading branch information
shifujun committed Aug 31, 2023
1 parent d1457e4 commit 4a8a527
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions buildScripts/gradle/maven.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ publishing {
def root = asNode()
def dependencies = root.appendNode('dependencies')
dependencies.append(getDependencyNode('compile', 'org.jetbrains.kotlin', 'kotlin-stdlib-jdk7', kotlin_version))
dependencies.append(getDependencyNode('compile', 'com.googlecode.json-simple', 'json-simple', json_simple_version))
dependencies.append(getDependencyNode('compile', coreGroupId, 'transform-kit', publicationVersion))
dependencies.append(getDependencyNode('compile', coreGroupId, 'transform', publicationVersion))
dependencies.append(getDependencyNode('compile', coreGroupId, 'runtime', publicationVersion))
Expand Down
2 changes: 2 additions & 0 deletions projects/test/gradle-plugin-agp-compat-test/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ function testUnderAGPVersion() {

# 测试版本来源
# https://developer.android.com/studio/releases/gradle-plugin
setGradleVersion 7.5
testUnderAGPVersion 7.4.1
setGradleVersion 7.4
testUnderAGPVersion 7.3.1
setGradleVersion 7.3.3
Expand Down

0 comments on commit 4a8a527

Please sign in to comment.