Move project test environments into the workspace
This commit is contained in:
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user