File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
sdk/core/transform-kit/src/main/kotlin/com/tencent/shadow/core/transform_kit
test/gradle-plugin-agp-compat-test Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ abstract class ClassTransform(val project: Project) : Transform() {
4747 * 获取输入文件对应的输出文件路径.即将文件this路径中的inputDir部分替换为outputDir.
4848 */
4949 fun File.toOutputFile (inputDir : File , outputDir : File ): File {
50- return File (outputDir, FileUtils .relativePossiblyNonExistingPath( this , inputDir))
50+ return File (outputDir, this .toRelativeString( inputDir))
5151 }
5252
5353 fun input (inputs : Collection <com.android.build.api.transform.TransformInput >,
Original file line number Diff line number Diff line change @@ -29,6 +29,8 @@ function testUnderAGPVersion() {
2929
3030# 测试版本来源
3131# https://developer.android.com/studio/releases/gradle-plugin
32+ setGradleVersion 7.2
33+ testUnderAGPVersion 7.1.1
3234setGradleVersion 7.0.2
3335testUnderAGPVersion 7.0.0
3436testUnderAGPVersion 4.2.0
You can’t perform that action at this time.
0 commit comments