Vyacheslav Gerasimov
4aa3040550
Build: Use runtimeOnly instead of deprecated runtime
...
maven-publish plugin uses `runtimeOnly` for runtime scope instead of
`runtime`
2020-06-14 20:31:26 +03:00
Ilya Chernikov
0f41dc814f
Switch many common tasks defined in buildSrc to lazy creation
...
also refactor some locally defined tasks to the creation avoidance API
2019-08-21 20:20:08 +02:00
Mikhael Bogdanov
0d3f03a15a
Support parallelization in another IDE tests
2019-04-17 11:22:18 +02:00
Vyacheslav Gerasimov
a42f607ecf
Build: Fix artifacts signing for maven central
...
With gradle > 5.0 `publish()` helper call should be done before
`noDefaultJar()` or any other artifact hacks, otherwise singing plugin doesn't sign any jars
2019-02-27 13:21:17 +03:00
Vyacheslav Gerasimov
f58acbeef5
Build: implement useBootstrapStdlib flag
...
Excludes stdlib projects from build and uses bootstrap stdlib artifacts
#KT-29205
2019-01-21 21:09:40 +03:00
Ilya Gorbunov
a18770fbbb
Remove projectDist dependency helper usages
...
Use default configuration dependencies instead of projectDist ones.
2018-09-12 06:05:05 +03:00
Yan Zhulanow
58643ea99d
Kapt: Remove annotation processor wrappers for kapt1 (it's obsolete now)
2018-05-24 01:01:51 +03:00
Alexey Tsvetkov
8a82c1618c
Use Plugins DSL in Kotlin Gradle scripts
...
When plugins DSL is used, there is no need to
manually generate typesafe accessors for extensions and
conventions (by running `./gradlew kotlinDslAccessorsSnapshot`).
2018-03-26 16:09:29 +03:00
Sergey Igushkin
5deb20543f
Get rid of gradle-api artifacts uploaded to and used from JB repo
...
Remove redundant Maven dependency to `gradle-api` scoped as provided
2018-01-17 18:45:26 +03:00
Ilya Chernikov
caca7c67f4
Fix "base" jar and "public" jar tasks archive name conflict
...
fixes KT-20877
2017-10-24 20:28:54 +02:00
Ilya Chernikov
431d47a605
Fix dependencies rewriting and gradle integration tests after applying rewriting
2017-10-16 21:48:36 +02:00
Ilya Chernikov
050403d15b
Use rewriteDeps task on the projects with runtime dependency on embeddable compiler...
...
which are using shaded dependencies
2017-10-16 21:48:35 +02:00
Ilya Gorbunov
3bea095618
Remove maven poms that are no longer submodules of the main project
2017-10-16 18:48:09 +03:00
Ilya Chernikov
f00fcddc76
Fix ide dependencies in gradle-plugin module
2017-10-05 16:14:26 +02:00
Sergey Igushkin
40ec513c68
Fix tests compilation: cuplicate compileOnly dependencies to testCompile
2017-09-26 13:11:02 +03:00
Sergey Igushkin
a23532d1ee
Replace the compile dependency on the Gradle API with a compileOnly one
2017-09-25 18:42:39 +03:00
Ilya Gorbunov
6e75d44bc3
Declare shared shadow plugin version and use it consistently
2017-09-20 11:51:35 +02:00
Ilya Chernikov
aa34c7d32a
Fix tests after projects rearrangement
2017-09-19 23:58:39 +02:00
Ilya Chernikov
0676ebd530
Fix after rebase on master
2017-09-19 23:58:38 +02:00
Ilya Chernikov
b4c9422376
Rearrange and rename idea-plugin related and annotation-processing modules
2017-09-19 23:58:37 +02:00
Ilya Chernikov
19e0cfeb9e
Add annotation processing into dist, publish & tests
2017-09-19 23:58:33 +02:00
Ilya Chernikov
d039d191f2
Fix tests in the new build infrastructure
2017-09-19 23:58:30 +02:00
Ilya Chernikov
deda50dbbb
Continue switching projects to improved dsl: sourceSets and test running
2017-09-19 21:37:26 +02:00
Ilya Chernikov
438525dfff
Proper import of the gradle part:
...
- using non-shadowed libs
- stop preshgadowing plugins
- switch to project dependencies
- add annotation processing module
2017-09-19 21:37:12 +02:00
Dmitry Jemerov
ac4be88627
Prevent duplicate addition of "org.jetbrains.kotlin" prefix when copying sources to Maven projects
2017-02-02 14:06:55 +01:00
Yan Zhulanow
3f638b8677
Kapt: Fix kapt3 on Linux (KT-15375)
2016-12-28 22:18:05 +03:00
Ilya Gorbunov
4d3d8463dc
Make tools.jar system dependency, since classpath property is readonly.
2016-12-05 20:10:33 +03:00
Yan Zhulanow
e39a8f2900
Kapt3, Minor: Add tools.jar to kotlin-annotation-processing classpath (Maven)
2016-12-05 19:58:05 +03:00
Yan Zhulanow
bd9d33fe44
Kapt3: Replace kapt2 in Ant and Maven artifacts with kapt3
2016-12-05 19:57:34 +03:00
Yan Zhulanow
1a1eb7dcfa
KT-12303 Pass only relevant annotations to annotation processors
...
(cherry picked from commit 01742aa)
2016-08-29 16:31:16 +03:00
Yan Zhulanow
a9de8ec89b
Kapt: compile annotation-processing artifact with target "1.6"
...
(cherry picked from commit 1391e59)
2016-08-29 16:31:16 +03:00
Yan Zhulanow
407af3a0e5
Kapt: Gradle plugin for the new kapt
...
(cherry picked from commit f4fc8f1)
2016-08-29 16:31:16 +03:00
Alexey Tsvetkov
a36e3a47ed
Keep order of parsed annotations
2016-05-18 15:24:21 +03:00
Alexey Tsvetkov
cb94936e51
Refactoring: rename AnnotatedElementDescriptor->AnnotatedElement
2016-05-11 20:41:48 +03:00
Alexey Tsvetkov
fe6e69ff89
Update kapt annotations file incrementally
2016-05-11 20:41:48 +03:00
Alexey Tsvetkov
c21693b0d0
Serialize KotlinAnnotationProvider
2016-05-11 20:41:48 +03:00
Alexey Tsvetkov
33dc792bf9
Minor: extract constant
2016-05-11 20:41:48 +03:00
Alexey Tsvetkov
3ef21a941c
Refactoring: make AnnotatedElementDescriptor hierarchy sealed
2016-05-11 20:41:48 +03:00
Alexey Tsvetkov
26781bc139
Pass reader as param
2016-05-11 20:41:48 +03:00
Alexey Tsvetkov
e0afb94628
Make fun local since it's bound to outer function semantics
2016-05-11 20:41:48 +03:00
Alexey Tsvetkov
3340731c71
Read annotations during construction of KotlinAnnotationsProvider
...
The rationale is to access kotlinClassesInternal and annotatedKotlinElementsInternal
in any order
2016-05-11 20:41:48 +03:00
Alexey Tsvetkov
69a8654e91
Minor: add const
2016-05-11 20:41:48 +03:00
Alexey Tsvetkov
28abc73f22
Pass reader in constructor to KotlinAnnotationProvider
2016-05-11 20:41:48 +03:00
Ilya Gorbunov
8425304866
Advance snapshot version to 1.1-SNAPSHOT
2016-05-11 17:28:38 +03:00
hansenji
100252b18b
Handle elements in two different classes with the same name annotated with the same annotation.
2016-03-25 19:32:18 +03:00
hansenji
b9dc92d7cf
Removed Test for deprecated annotation
2016-03-25 19:32:18 +03:00
Yan Zhulanow
203d9e150b
Kapt: Add kapt.kotlin.generated to the supported options list
2016-01-27 19:31:45 +03:00
Yan Zhulanow
4e82fabc7d
kapt: Pass Kotlin annotations to process()
2016-01-27 17:17:47 +03:00
Ilya Gorbunov
57dcbe0aea
Cleanup in libraries and tools: use property access syntax.
2016-01-17 15:52:14 +03:00
Ilya Gorbunov
19a4f65fd1
Cleanup in libraries
2016-01-17 15:52:12 +03:00