Files
kotlin-fork/tools
Ilya Matveev d3f9e335fb gradle-plugin: Rework DSL
* Remove konanInterop block
* Use konanArtifact block for both compiler and interop artifacts
* Specify targets in a project-wide manner
* Autogenerate tasks for all targets specified for a project
* Add an ability to configure each target for an artifact separately

With this patch the following old DSL:

konanInterop {
    fooMacbook { target 'macbook' ... }
    fooLinux { target 'linux' ... }
}

konanArtifacts {
    barMacbook { target 'macbook' }
    barLinux { target 'linux' }
}

Transforms into:

konanTargets = ['macbook', 'linux']

konanArtifacts {
    interop('foo') { ... }
    program('bar') { ... }
}
2017-10-20 17:09:23 +03:00
..