gradle-plugin: Don't use afterEvaluate to configure tasks
Gradle plugin used afterEvaluate method to configure default parameters for tasks. This behavior might lead to problems if user also uses the afterEvaluate hook. This patch moves the default setting logic into the tasks. The following actions have been removed from the afterEvaluate hook: * Setting default source directories for KonanCompileTask * Setting default def-file for KonanInteropTask
This commit is contained in:
@@ -116,6 +116,7 @@ You may get this task using the `compilationTask` property of an artifact or by
|
||||
|`inputFiles `|`Collection<FileCollection>`|Compiled files |
|
||||
|`libraries `|`Collection<FileCollection>`|*.klib libraries used by the artifact |
|
||||
|`nativeLibraries `|`Collection<FileCollection>`|*.bc libraries used by the artifact |
|
||||
|`interops `|`Collection<Interop>` |All the interops used by the artifact |
|
||||
|`linkerOpts `|`List<String>` |Additional options passed to the linker |
|
||||
|`enableDebug `|`boolean` |Is the debugging support enabled |
|
||||
|`noStdLib `|`boolean` |Is the artifact not linked with stdlib |
|
||||
|
||||
Reference in New Issue
Block a user