Commit Graph

39 Commits

Author SHA1 Message Date
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
SvyatoslavScherbina f27d4452f4 Add very basic documentation for interop with Swift/Objective-C (#1482) 2018-04-18 20:46:50 +03:00
Vasily Levchenko 94ba9d61a9 [build][version][doc] update 2018-04-18 08:01:28 +02:00
Ilya Matveev 1b22d34852 [gradle-plugin-readme] Mention workaround for #1473 2018-04-17 16:35:19 +07:00
Ilya Matveev 60fff46930 [gradle-plugin] Mention artifact project, library DSL in readme 2018-03-13 17:05:36 +03:00
Ilya Matveev 9c812e0c90 [gradle-plugin] Allow setting several common source sets 2018-02-26 12:48:39 +03:00
Ilya Matveev c455064ca2 [readme] Add multiplatform support description into readme. 2018-02-08 11:34:49 +07:00
Ilya Matveev d9a07c6b61 [readme] Improve gradle-plugin readme
* Describe framework and dynamic library building
    * Describe setting custom targets for an artifact
2018-01-24 15:24:59 +07:00
Nikolay Igotti 5ad0643154 v0.5 preparations. (#1135) 2017-12-15 13:25:25 +03:00
Ilya Matveev 0dd754e7c7 gradle-plugin: Update doc 2017-11-23 13:01:10 +07:00
Ilya Matveev fc92e9a02c gradle-plugin: Add some info in readme 2017-10-23 16:02:57 +03:00
Ilya Matveev df99d0677b gradle-plugin: Update readme 2017-10-20 17:09:23 +03:00
Ilya Matveev edfe593ea7 gradle-plugin: Implement library block 2017-10-20 17:09:23 +03:00
Ilya Matveev 56afadfcb1 readme: Fix a typo 2017-09-29 11:58:28 +03:00
Jiaming Lu 87d3c791f8 Easier adding library project as dependency 2017-09-29 11:58:28 +03:00
Ilya Matveev beb6c3eb10 gradle-plugin: Rename kLib -> klib 2017-09-25 11:31:46 +03:00
Ilya Matveev 5e1866f262 gradle-plugin: Remove manifest compilation parameter 2017-09-13 12:45:38 +03:00
Ilya Matveev 016893991a gradle-plugin: Use cinterop to compile stubs
The gradle plugin performed interop processing in two steps:
 1. generate stubs using cinterop tool
 2. compile the stubs generated using konanc.

This led to code duplication since the cinterop tool also
can do the same things. This patch removes two tasks used
different tools and replaces them with one task which uses
citerop tool for both stub generation and compilation
2017-09-13 12:45:38 +03:00
Ilya Matveev 8957320504 gradle-plugin: Allow compile time measurement 2017-08-24 17:51:41 +07:00
Ilya Matveev d2c8fd18e9 gradle-plugin: Allow passing additional command line options 2017-08-24 17:51:41 +07:00
Ilya Matveev c848ee519d gradle-plugin, readme: Use relative links 2017-08-18 17:41:34 +07:00
Ilya Matveev 350ce9a2a6 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
2017-08-18 17:41:34 +07:00
Ilya Matveev ad0c44d097 gradle-plugin, readme: Add links 2017-08-18 17:41:34 +07:00
Ilya Matveev 50564803c2 gradle-plugin, readme: Add descriptions of task properties 2017-08-18 17:41:34 +07:00
Ilya Matveev 53fedbf55c gradle-plugin: Add dependsOn methods into configs
This patch adds the `dependsOn(Task)` method to both interop and
compilation configs. It allows one to use a simple syntax to add
dependencies to compilation/stub generation tasks:

konanArtifacts {
    foo { dependsOn anotherTask }
}

Issue: KT-19534
2017-08-10 11:42:01 +07:00
Ilya Matveev b46a8535d3 gradle-plugin: Show error if konan.home-based classpaths are empty
Issue link: https://github.com/JetBrains/kotlin-native/issues/773
2017-08-10 11:42:01 +07:00
Ilya Matveev 1b4f3536d0 gradle-plugin: Mention several available options in GRADLE_PLUGIN.md 2017-07-28 10:57:08 +07:00
Aleksey Kladov f40e4898f0 Fix plugin version in Gradle guide (#695) 2017-06-23 14:40:12 +03:00
Ilya Matveev 6b0992fbe4 gradle-plugin: Imporve GRADLE_PLUGIN.md 2017-06-20 18:13:35 +07:00
alexander-gorshenev d3c24bb387 Different extensions (and KonanTarget communalization). (#665) 2017-06-19 12:45:57 +03:00
Nikolay Igotti 0e8a1292a7 v0.3 preparations (#648) 2017-06-14 16:14:47 +03:00
Michael Blackman f99c44dfdf Fix typos in GRADLE_PLUGIN.md & INTEROP.md (#649)
* Fix typo in GRADLE_PLUGIN.md

* Fix typo in INTEROP.md
2017-06-13 10:15:52 +03:00
Alexander Gorshenev c93bddbba1 Get rid of -nolink flag uses. 2017-05-29 15:01:42 +03:00
Ilya Matveev 6f9af1c6a1 gradle-plugin: Revert target renaming 2017-05-10 14:31:02 +07:00
Ilya Matveev ede419494a gradle-plugin: Update GRADLE_PLUGIN.md 2017-05-05 19:40:21 +07:00
ilmat192 368ad9449f Small fixes (#442)
* Fix gradle plugin readme

* samples: Add brew paths
2017-04-03 19:05:44 +03:00
Nikolay Igotti ac37d95ff1 Minor fixes 2017-04-03 17:22:46 +03:00
Ilya Matveev e4203ec86c gradle-plugin: Add gradle plugin description 2017-03-31 18:46:25 +07:00