Move project test environments into the workspace

This commit is contained in:
2026-10-01 21:48:49 +08:00
parent f011d8357d
commit c2756ca4d6
23 changed files with 834 additions and 6 deletions
@@ -17,7 +17,9 @@ def main():
parser.add_argument('--gradle', type=Path, help='Optional verified Gradle executable; otherwise use Wrapper')
parser.add_argument('tasks', nargs='*', default=[':sharedCore:jvmTest', ':androidApp:assembleDebug'])
args = parser.parse_args()
root = args.work_root.resolve()
# Keep an explicitly supplied ASCII junction spelling. Resolving it first
# would expose the Chinese workspace path to AGP despite the alias.
root = Path(os.path.abspath(args.work_root))
if not str(root).isascii():
parser.error('work-root must use ASCII characters')
if not (args.jdk / 'bin/java.exe').is_file() or not (args.sdk / 'platforms').is_dir():