diff --git a/apps/resources/mill-interactive.json b/apps/resources/mill-interactive.json index 054512d..4e207e4 100644 --- a/apps/resources/mill-interactive.json +++ b/apps/resources/mill-interactive.json @@ -1,15 +1,24 @@ { - "mainClass": "mill.MillMain", + "mainClass": "mill.runner.MillMain", "repositories": [ "central" ], "dependencies": [ - "com.lihaoyi::mill-dev:latest.stable" + "com.lihaoyi::mill-dist:latest.stable" ], "properties": { "jna.nosys": "true", "MILL_CLASSPATH": "${java.class.path}", "MILL_VERSION": "${mill-dev.version}" }, - "name": "mill-i" + "name": "mill-i", + "versionOverrides": [ + { + "versionRange": "(,0.11.0-M7]", + "mainClass": "mill.MillMain", + "dependencies": [ + "com.lihaoyi::mill-dev:latest.stable" + ] + } + ] } diff --git a/apps/resources/mill.json b/apps/resources/mill.json index ab41e7b..041a6d7 100644 --- a/apps/resources/mill.json +++ b/apps/resources/mill.json @@ -1,14 +1,23 @@ { - "mainClass": "mill.main.client.MillClientMain", + "mainClass": "mill.runner.client.MillClientMain", "repositories": [ "central" ], "dependencies": [ - "com.lihaoyi::mill-dev:latest.stable" + "com.lihaoyi::mill-dist:latest.stable" ], "properties": { "jna.nosys": "true", "MILL_CLASSPATH": "${java.class.path}", "MILL_VERSION": "${mill-dev.version}" - } + }, + "versionOverrides": [ + { + "versionRange": "(,0.11.0-M7]", + "mainClass": "mill.main.client.MillClientMain", + "dependencies": [ + "com.lihaoyi::mill-dev:latest.stable" + ] + } + ] }