|
|
|
|
@ -33,9 +33,9 @@ class KotlinPluginAction implements PluginApplicationAction {
@@ -33,9 +33,9 @@ class KotlinPluginAction implements PluginApplicationAction {
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public void execute(Project project) { |
|
|
|
|
String kotlinVersion = project.getPlugins().getPlugin(KotlinPluginWrapper.class).getKotlinPluginVersion(); |
|
|
|
|
ExtraPropertiesExtension extraProperties = project.getExtensions().getExtraProperties(); |
|
|
|
|
if (!extraProperties.has("kotlin.version")) { |
|
|
|
|
String kotlinVersion = project.getPlugins().getPlugin(KotlinPluginWrapper.class).getKotlinPluginVersion(); |
|
|
|
|
extraProperties.set("kotlin.version", kotlinVersion); |
|
|
|
|
} |
|
|
|
|
enableJavaParametersOption(project); |
|
|
|
|
|