We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
` android.applicationVariants.all { variant ->
delete "${buildDir}/intermediates/merged_assets/${variant.dirName}" variant.mergeAssets.doLast { def sourceDir = "${buildDir}/../../" System.out.println("______sourceDir = " + sourceDir) System.out.println("______outputDir = " + outputDir) copy { from "${sourceDir}/cocos-jsb/res" into "${outputDir}/res" } copy { from "${sourceDir}/cocos-jsb/src" into "${outputDir}/src" } copy { from "${sourceDir}/cocos-jsb/jsb-adapter" into "${outputDir}/jsb-adapter" } copy { from "${sourceDir}/cocos-jsb/main.js" from "${sourceDir}/cocos-jsb/project.json" into outputDir } }
} 这一个拷贝是可以的,但是其他的不行 copy { from "${sourceDir}/cocos-jsb/main.js" from "${sourceDir}/cocos-jsb/project.json" into outputDir }`
这一个拷贝是可以的,但是其他的不行
The text was updated successfully, but these errors were encountered:
No branches or pull requests
`
android.applicationVariants.all { variant ->
}
这一个拷贝是可以的,但是其他的不行
copy {from "${sourceDir}/cocos-jsb/main.js"
from "${sourceDir}/cocos-jsb/project.json"
into outputDir
}`
The text was updated successfully, but these errors were encountered: