This patch separates the benchmark Gradle build from the root one.
It allows us to use the latest (built from sources) Gradle
plugin to compile the benchmarks instead of the released one.
By convention, gradle uses project name as artifactId, `project.group`
property for groupId and `project.version` for version.
This commit switches to this convention instead of configuring
publication tasks directly. It allows to easily substitute published
plugin with a plugin build locally by issuing
`./gradlew build --include-build ../kotlin-native`
in the dependent project.
By convention, gradle uses project name as artifactId, `project.group`
property for groupId and `project.version` for version.
This commit switches to this convention instead of configuring
publication tasks directly. It allows to easily substitute published
plugin with a plugin build locally by issuing
`./gradlew build --include-build ../kotlin-native`
in the dependent project.
This patch adds 2 helpers to download dependencies for compiler and
stub generator during their execution.
They take list of external dependencies as a parameter and directory
where they must be located. Helpers check if these dependencies exist
in the given directory and download not existing ones.
The gradle.property contains the version of the kotlin kotlin_version, previously it was used for holding llvmInstallPath, now this variable should be defined in local.property