Commit Graph

54 Commits

Author SHA1 Message Date
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
Ilya Gorbunov dadcdb5771 StdLib cleanup, deprecated symbol usage: List and Map members 2015-11-21 00:54:08 +03:00
Ilya Gorbunov 07654eb82b StdLib cleanup, deprecated symbol usage: size() and length() 2015-11-21 00:54:05 +03:00
Valentin Kipyatkov 4a182ac6e2 Fixing class names after rebase 2015-11-09 15:37:45 +03:00
Ilya Gorbunov 59cd1cd14a Restore referential equality for AnnotatedClassDescriptor and AnnotatedConstructorDescriptor. 2015-10-19 23:03:59 +03:00
Andrey Breslav 18524ea8ec Proper semantics for former data classes 2015-10-19 22:42:33 +03:00
Mikhail Glukhikh ff60a13228 libraries/tools fix (data classes migration) 2015-10-19 18:17:22 +03:00
Ilya Gorbunov 2fba80168d Remove usages of Delegates.lazy 2015-10-15 18:20:41 +03:00
Ilya Gorbunov ff69b97030 StdLib cleanup: deprecated usages 2015-10-07 22:36:09 +03:00
Zalim Bashorov 8cb87b3e49 private -> internal where it's necessary 2015-09-25 21:16:00 +03:00
Denis Zharkov 5cecaa6f87 Get rid of deprecated annotations and modifiers in stdlib (besides JS) 2015-09-18 10:14:28 +03:00
Rodrigo Quesada 69038ba6c0 KT-9003 FileNotFoundException when Kapt is unable to find corresponding annotations.txt
#KT-9003 Fixed
2015-09-11 22:41:58 +03:00
Yan Zhulanow 441e72abed kapt: Add class declarations test in AP wrapper 2015-07-07 16:35:22 +03:00
Yan Zhulanow a90f175fc2 kapt: Support inherited annotations in AP wrapper 2015-07-07 16:35:20 +03:00
Alexander Udalov feb4dd7b8f Drop 'OBJECT$' field deprecated in M11 2015-07-06 16:19:54 +03:00
Yan Zhulanow d9ac8c9d22 kapt: Pass annotation declarations options via Java APT options 2015-06-19 02:29:12 +03:00
Yan Zhulanow 78af866f5a kapt: Do not fail if annotations.txt file does not exist 2015-06-11 14:53:46 +03:00
Yan Zhulanow b254825427 kapt: fix several annotation processors in AP wrapper 2015-05-27 16:11:06 +03:00
Yan Zhulanow c2dd7d197e APT: Use task qualifiers in annotation file names 2015-05-27 16:11:05 +03:00
Ilya Gorbunov 36fb5b3c49 Use platform independent way to split output to lines. 2015-05-22 16:12:07 +03:00
Yan Zhulanow 6de79f46e4 More kotlin-annotation-processing parsing tests 2015-05-21 15:48:29 +03:00
Yan Zhulanow 07214c4f35 Platform-agnostic text compare in kotlin-annotation-processing 2015-05-21 15:48:27 +03:00
Yan Zhulanow 692e396ffd Support constructors in kapt wrapper 2015-05-21 15:48:26 +03:00
Yan Zhulanow c414c598ca Minor: fixes in KotlinAnnotationProvider (APT wrapper) 2015-05-21 15:48:24 +03:00
Yan Zhulanow d2e256f470 Output annotation processor fqName if the processor can't be initialized 2015-05-21 15:48:24 +03:00