Alexander Gorshenev
0570e281a9
Moved KonanTargets to be mostly pairs.
...
Moved nice device and generic os names to be target aliases.
2018-03-07 14:41:33 +03:00
Ilya Matveev
2e54fb9144
[gradle-plugin] Fix a test with two main functions
2018-03-01 17:02:37 +03:00
Ilya Matveev
d15f55d807
[gradle-plugin] Annotate commonSourceSet with @Deprecated
2018-02-26 12:48:39 +03:00
Ilya Matveev
9c812e0c90
[gradle-plugin] Allow setting several common source sets
2018-02-26 12:48:39 +03:00
Ilya Matveev
4a64dd08bd
[gradle-plugin] Add TODO to replace HostManager with PlatformManager
2018-02-22 15:00:29 +03:00
Vasily Levchenko
b8c36098b3
[gradle][plugin][warns] bit of idea inspection warnings fixed
2018-02-21 17:00:15 +03:00
Ilya Matveev
db253cb297
[gradle-plugin] Use HostManager instead of PlatformManager
...
Gradle plugin uses PlatformManager to initialize tasks
when the compiler is not downloaded yet. In this case
PlatformManager cannot read konan.properties file.
This patch replaces PlatformManager with HostManager
2018-02-13 17:31:14 +07:00
Alexander Gorshenev
9789420ed3
A configurable zephyr board support.
2018-02-12 16:00:58 +03:00
Ilya Matveev
c455064ca2
[readme] Add multiplatform support description into readme.
2018-02-08 11:34:49 +07:00
Ilya Matveev
4693563195
[gradle-plugin] Use 'expectedBy' configuration for multi-platform support
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
618c53956f
[gradle-plugin] Support headerFile property for dynamic libraries
2018-01-24 15:24:59 +07:00
Ilya Matveev
1399ac9777
[gradle-plugin] Fix typo for framework building
2018-01-19 11:55:12 +07:00
Ilya Matveev
dab46b4c4d
[gradle-plugin] Fix path to artifacts with prefixes
2018-01-17 16:58:44 +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
6d4b15867b
[gradle-plugin] Support different targets for different artifacts
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
Alexander Gorshenev
eae130e246
He says make it an extension property.
2017-12-18 15:04:02 +03:00
Alexander Gorshenev
dda43dd4a1
Renamed userName to visibleName.
2017-12-18 15:04:02 +03:00
Alexander Gorshenev
ff49153e79
Get rid of explicit value case manipulations.
2017-12-18 15:04:02 +03:00
Svyatoslav Scherbina
228ec9d286
Rework compiler dependency management
...
And support for searching them locally and
downloading from internal server if KONAN_USE_INTERNAL_SERVER is set
Also:
Allow sysroot to change version minorly.
2017-12-15 14:38:22 +03:00
SvyatoslavScherbina
b51d029a33
Add support for producing dynamic/framework from Gradle ( #1105 )
2017-12-05 09:37:07 +03:00
Vasily Levchenko
3a6cb76dc1
[llvm][update][5.0.0] llvm 5.0.0
2017-12-01 10:36:34 +03:00
Ilya Matveev
1c16fc1166
build: Rename kotlin version properties
...
kotlin_version -> buildKotlinVersion
kotlinVersion -> kotlinCompilerVersion
2017-12-01 13:01:08 +07:00
Ilya Matveev
a991b51064
gradle-plugin: Fix konanArtifact block for Kotlin DSL
2017-11-30 18:23:58 +07:00
Rodrigo B. de Oliveira
1144a6e036
Explicitly declare public type of konanArtifacts extension
...
Because `KonanArtifactContainer` inherits from Gradle's `DefaultPolymorphicDomainObjectContainer`, it inherits its implementation of [`HasPublicType`](https://github.com/gradle/gradle/blob/283a513257628b93a0b092f78385e2b42fec6da3/subprojects/model-core/src/main/java/org/gradle/api/reflect/HasPublicType.java#L29 ). This default implementation tells Gradle to expose the extension as a `NamedDomainObjectContainer<ElementType>` where `ElementType` is inferred in a best-effort manner.
This means that any additional members of `KonanArtifactContainer` wouldn't be easily accessible in a Gradle Kotlin build script.
This commit explicitly declares the public extension type to be `KonanArtifactContainer` by using the appropriate [`ExtensionContainer#create` overload](https://docs.gradle.org/current/javadoc/org/gradle/api/plugins/ExtensionContainer.html#create(java.lang.Class,%20java.lang.String,%20java.lang.Class,%20java.lang.Object...) ).
2017-11-30 12:58:53 +07:00
Ilya Matveev
917919d27e
gradle-plugin: Improve CMake generation test
2017-11-30 12:16:08 +07:00
Ilya Matveev
b47f7dcf73
gradle-plugin: Fix CMake generation
2017-11-30 12:16:08 +07:00
Ilya Matveev
4a8d07493c
gradle-plugin: Support user jvm args
2017-11-30 12:16:08 +07:00
Ilya Matveev
8d8da0acf2
gradle-plugin: Update compiler downloading path
2017-11-30 12:16:08 +07:00
Aleksey Kladov
a033dbf131
gradle-plugin: generate CMake file
2017-11-28 18:46:46 +07:00
Ilya Matveev
ccf03e51fa
gradle-plugin Use a script-block to specify include directories
...
Replace headerFilterAdditionalSearchPrefix cinterop option with
includeDir script block:
includeDir {
allHeaders 'path' // Used for all headers (an analogue of -I<path>)
// Used only for headers in headerFilter
// (replacement for headerFilterAdditionalSearchPrefix)
headerFilterOnly 'path'
}
2017-11-23 13:01:10 +07:00
Ilya Matveev
e4fc1eda7c
gradle-plugin: Add tests for headerFilterAdditionalSearchPrefixes
2017-11-23 13:01:10 +07:00
Ilya Matveev
83323985bf
gradle-plugin: Support headerFilterAdditionalSearchPrefix
...
Support the headerFilterAdditionalSearchPrefix interop tool option
in the Gradle plugin
2017-11-23 13:01:10 +07:00
Ilya Matveev
59b91cf906
gradle-plugin: Support custom entry point
2017-11-23 13:01:10 +07:00
Ilya Matveev
b96ede81d2
gradle-plugin, tests: Enable ignored library tests
2017-11-16 13:50:37 +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
Ilya Matveev
5f1dc68efc
Fix clean task after dependencies path change
2017-11-02 12:35:45 +03:00
Ilya Matveev
ea422a87f3
Store native dependencies in HOME/.konan
2017-11-02 12:35:45 +03:00
Vasily Levchenko
a917d044bd
[comment] missed legal header ( #991 )
2017-10-30 17:06:00 +03:00
Ilya Matveev
0863f8e3c9
Fix publish-release script
2017-10-24 17:32:52 +03:00
Ilya Matveev
93445f5546
v0.3.4 preparations
2017-10-23 16:02:57 +03:00
Ilya Matveev
6a6b53ab0e
gradle-plugin: Add tests for the 'libraries' block
2017-10-20 17:09:23 +03:00