mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2025-12-27 14:04:04 -05:00
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:
7
examples/android-java/default.java
Normal file
7
examples/android-java/default.java
Normal file
@@ -0,0 +1,7 @@
|
||||
// Type your code here, or load an example.
|
||||
class Square {
|
||||
static int square(int num) {
|
||||
return num * num;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user