Commit Graph

70 Commits

Author SHA1 Message Date
Ilya Matveev a2370920db Depend on kotlin-native-shared from a separate repo
Kotlin-native-shared was copied in a separate repository.
This patch removes this subproject from the K/N repo and
adds a dependency on an artifact built from this separate repo.
2019-03-14 21:51:46 +07:00
Ilya Matveev b84559b27a Fix IDE import after switching to the long plugin version 2019-02-26 12:23:27 +03:00
Ilya Matveev 30ac956300 Fix plugin shadow jar classifier 2019-02-25 20:22:23 +03:00
Ilya Matveev 82250a9d68 Always use the long version for Gradle plugin 2019-02-25 13:35:39 +03:00
Ilya Matveev 0cb3c71ed8 Allow override gradle version for plugin tests 2019-02-22 14:57:10 +03:00
Ilya Matveev a576ee4b7d Switch to Gradle 5.1 2019-02-22 14:57:10 +03:00
Pavel Punegov 9c3a1332d5 Replace deprecated konan.home with org.jetbrains.kotlin.native.home 2019-02-13 17:06:10 +03:00
Ilya Matveev cd7a377e8f Use publish plugin 0.9.10 2018-11-14 15:13:16 +07:00
Ilya Matveev d78c1a68a6 Allow overriding Gradle plugin version (#2304) 2018-11-09 10:55:47 +03:00
Ilya Matveev 5a37fe4e7e Shade shared classes in the gradle-plugin fat jar 2018-10-15 15:29:40 +07:00
Ilya Matveev ef19d0f346 Use cache-redirector to resolve the 'plugin-publish' plugin (#2204) 2018-10-11 17:41:52 +03:00
Ilya Matveev 196ca34d5b Update: Gradle 4.10 (#2187)
Update: Gradle 4.10
2018-10-10 12:37:00 +03:00
Ilya Matveev d3400b16dd [gradle-plugin] Fix serialization test (#2171) 2018-10-05 09:41:22 +03:00
Ilya Matveev 65d8b8e7c1 Fix plugin uploading (#2157)
* Fix plugin uploading

* Fix plugin version in bundle samples

* [gradle-plugin] Use unshaded compiler plugin configuration
2018-10-01 14:36:17 +03:00
Ilya Matveev da054ffe99 Add fat jars for gradle plugin (#2149)
* [gradle-plugin] Bundle big Kotlin plugin into the native plugin jar

* Use big Kotlin's version in the Gradle plugin

* [gradle-plugin] Exclude big Kotlin plugins from final jar

* Use composite build again

* Remove MULTIPLATFORM.md

* [gradle-plugin] Fix adding common sources

* [gradle-plugin] Fix test running
2018-09-28 15:32:56 +03:00
Vasily Levchenko 43ef32b0f8 [kotlin compiler][update] 1.3.0-rc-116 2018-09-27 23:19:38 +03:00
Ilya Matveev 0134868857 Depend on Kotlin stdlib 0.9.1-native 2018-09-14 11:40:17 +03:00
Nikolay Igotti b6a01a86f1 Update to 1.3.0-rc-6. (#2050) 2018-09-13 10:20:52 +03:00
Ilya Matveev 7f00e581b5 [gradle-plugin] Depend on Kotlin 0.9.0-native (#1993)
* [gradle-plugin] Depend on Kotlin 0.9.0-native

* [gradle-plugin] Use test artifacts from eap repo
2018-09-10 16:42:19 +07:00
Vasily Levchenko c78d070455 [compiler][update] 1.3-M2-eap-33 / build: 1.3-M1-eap-77 2018-08-21 18:44:55 +03:00
ilmat192 d20fc12a08 [gradle-plugin] Publish the plugin to plugin portal (#1789)
* [gradle-plugin] Publish the plugin to plugin portal

* [gradle-plugin] Fix test classpath
2018-07-12 12:00:30 +07:00
Vasily Levchenko 2e4cd70f1a [build] replace direct urls with cached ones 2018-07-09 09:52:02 +03:00
ilmat192 67279c4148 Rework Gradle plugin (#1666)
* [gradle-plugin] Basic implementation for the new plugin

* [gradle-plugin] Use one component for both libraries and executables

* [gradle-plugin] Support library compilation and publishing

* [gradle-plugin] Support compilation for different targets

* [gradle-plugin] Use different output paths for libs and kexe

* [gradle-plugin] Implement ProductionComponent

* [gradle-plugin] Add smoke tests for the new Gradle plugin

* [gradle-plugin] Backport to Gradle 4.7 and rename plugin package

* [gradle-plugin] Implement our own BuildType

* Remove the 'publish-release.sh' script

* [gradle-plugin] Support tests in new plugin

* [gradle-plugin] Refactor the new plugin

    * Rename sourceSets.main.common -> sourceSets.main.kotlin.
    * Generate dummy tasks for unsupported test targets.
    * Add identities in publication for unsupported on the current
      host targets.
    * Provide a component DSL method for setting targets.

* [gradle-plugin] Codestyle fixes

* [gradle-plugin] Add checks for Gradle version and metadata

* [gradle-plugin] Support compiler downloading in the new plugin

* [gradle-plugin] Support MPP in the new Gradle plugin

* [gradle-plugin] Fix tests after removing implicit GRADLE_METADATA
2018-06-19 10:09:46 +03:00
ilmat192 bc65c7175d Improve tooling model + add Gradle version checking (#1602)
* [gradle-plugin] Add tests for IDE model
* [gradle-plugin] Check Gradle version
* [gradle-plugin] Provide language, api and konan version in the model
* [gradle-plugin] Use String instead of KonanTarget in the IDE model
* [gradle-plugin] Rename Produce -> KonanOutput
* [version] Make KonanVersion an interface to allow passing it to IDE
* [gradle-plugin] Replace KonanOutput with CompilerOutputKind
* [gradle-plugin] Don't override usual jar with a fat one
* [gradle-plugin] Fix IDE model tests
* [gradle-plugin] Add library search paths in IDE model
* [gradle-plugin] Use 4.7 as a required version for the plugin
* [gradle-plugin] "Kotlinfy" the version check
2018-05-23 11:58:47 +07:00
StefMa 7fe6d44231 Remove pluginMetadata left over 2018-05-15 16:54:26 +07:00
StefMa 7d122a83a2 Use the gradlePlugin block to automatically generates the konan.properties 2018-05-14 17:31:46 +07:00
StefMa 63d95a2675 Use java-gradle-plugin 2018-05-14 17:31:46 +07:00
Ilya Matveev 680f15e11b [gradle-plugin] Fix enabling bintray publishing via a property 2018-05-10 15:40:33 +07:00
Ilya Matveev 7e0c19e67a Read property values for bintray override and publish. 2018-04-27 11:37:45 +07:00
Ilya Matveev bee7dcd704 Fix gradle plugin versioning and the plugin version used by samples 2018-04-26 11:34:45 +07:00
Vasily Levchenko 89cc1b3abb [gradle][publish] attempt to fix sample dependencies 2018-04-26 11:34:45 +07:00
Ilya Matveev 36fe07e159 [gradle-plugin] Fix version according to the new versioning system 2018-04-24 19:46:52 +07:00
Nikolay Igotti 55c6090a08 Revert "Revert unified versioning."
This reverts commit fe28b13e4f.
2018-04-20 09:43:21 +03:00
Vasily Levchenko fe28b13e4f Revert unified versioning.
Revert "[build][version] generate KonanVersion using data from gradle.properties." 07ae3144de.
Revert "[gradle][test] disable version test" 86ec80a6a7.
Revert "[build][version][doc] update" 94ba9d61a9.
2018-04-20 06:49:06 +03:00
Vasily Levchenko 07ae3144de [build][version] generate KonanVersion using data from gradle.properties.
- uses konanMetaVersion for meta version field
- uses dep.Kotlin_KotlinNative_Master_KotlinNativeCheckout.build.counter as build counter
- shared/compiler/gradle plugin uses the same version.
2018-04-18 08:01:28 +02:00
Ilya Matveev 2bf307f823 [gradle-plugin] Use project properties instead of env variables 2018-04-17 16:35:19 +07:00
Ilya Matveev 669baf88a3 [gradle-plugin] Fix setting default compiler version 2018-03-13 17:05:36 +03:00
Ilya Matveev c455064ca2 [readme] Add multiplatform support description into readme. 2018-02-08 11:34:49 +07:00
Ilya Matveev 335ca7d989 [gradle-plugin] Add smoke tests for multiplatform support 2018-02-08 11:34:49 +07:00
Ilya Matveev 3eaf46ae60 [gradle-plugin] Support multiplatform projects in current DSL. 2018-02-08 11:34:49 +07:00
Ilya Matveev 525561eec3 [gradle-plugin] Add tests for custom targets and artifact paths 2018-01-17 16:58:44 +07:00
Ilya Matveev 32972af5bd [build] Fix 'shared' jar copying 2018-01-17 16:58:44 +07:00
Ilya Matveev 815f887465 [build] Fix gradle plugin shadowJar building and uploading 2018-01-17 16:58:44 +07:00
Ilya Matveev f409287438 [build] Improve composite build 2018-01-17 16:58:44 +07:00
Ilya Matveev a2b6c71f73 [build] Move shared and gradle-plugin into separate gradle builds
Platform libs build will be changed by a separate commit
2018-01-17 16:58:44 +07:00
Ilya Matveev c26c7f10e3 tests: Allow setting konan.jvmArgs in gradle plugin tests 2017-12-25 16:49:59 +07:00
Ilya Matveev 1c16fc1166 build: Rename kotlin version properties
kotlin_version -> buildKotlinVersion
kotlinVersion -> kotlinCompilerVersion
2017-12-01 13:01:08 +07:00
Ilya Matveev 4c73a90e1d gradle-plugin, tests: Enable parallel execution 2017-11-16 13:50:37 +07:00
Ilya Matveev 638d23e8b1 gradle-plugin: Support custom konan.home in gradle plugin tests 2017-11-16 13:50:37 +07:00
Vasily Levchenko 5d514e3ede [kotlin compiler][update] 1.2.0-rc-39 2017-11-08 09:46:20 +03:00