Common code for configuring org.gradle.api.tasks.compile.AbstractCompile instances.
| Type | Name and description |
|---|---|
static void |
configureLanguageLevel(org.gradle.api.tasks.compile.AbstractCompile compileTask, CompileOptions compileOptions, String compileSdkVersion)Determines the java language level to use and sets it on the given task and CompileOptions. |
Determines the java language level to use and sets it on the given task and CompileOptions. The latter is to propagate the information to Studio.