Add support for Android D8 (8.1.56) (#5756)

Adds D8Compiler, which applies to the Android Java and Android Kotlin
languages. D8Compiler instantiates a JavaCompiler or KotlinCompiler
using the java/kotlin dependencies' paths for D8 in the infra repo.

compiler-finder.ts has been updated to allow for duplicate compiler IDs
for 'android-java' and 'android-kotlin', as it is expected that the
compilers used for these languages is the same.
This commit is contained in:
kevinjeon-g
2023-12-04 20:35:56 -05:00
committed by GitHub
parent 4d75c35a3c
commit 7efe253f5f
15 changed files with 384 additions and 4 deletions

View File

@@ -0,0 +1,7 @@
// Type your code here, or load an example.
class Square {
static int square(int num) {
return num * num;
}
}