Commit Graph

138 Commits

Author SHA1 Message Date
Yan Zhulanow d0897193e8 kapt: Use actual classpath in the second Kotlin task as well 2015-06-19 02:29:13 +03:00
Yan Zhulanow 5f85a028ae kapt: Fix ConcurrentModificationException in Gradle 2015-06-19 02:29:13 +03:00
Yan Zhulanow d9ac8c9d22 kapt: Pass annotation declarations options via Java APT options 2015-06-19 02:29:12 +03:00
Yan Zhulanow 205585c63e kapt: Support lazy evaluation of additional kapt arguments in test 2015-06-19 02:26:21 +03:00
Yan Zhulanow 8a10de3a26 Add Gradle test for additional kapt arguments 2015-06-19 02:26:20 +03:00
Yan Zhulanow 7f2bd5b9d4 Add basic kapt tests 2015-06-19 02:26:19 +03:00
Yan Zhulanow 17e6b8f014 kapt: Lazy evaluation of additional arguments 2015-06-19 02:25:40 +03:00
Yan Zhulanow f158b5b0c4 Support additional compiler arguments 2015-06-19 02:25:40 +03:00
Yan Zhulanow 3ea4306eb9 kapt: Generate stub source file just after Kotlin compile 2015-06-19 02:25:40 +03:00
Sergey Mashkov bff88b9fe1 Fix gradle test 2015-06-17 20:41:00 +03:00
Yan Zhulanow 08fa9b639e Gradle: update annotation syntax 2015-06-11 15:19:51 +03:00
Yan Zhulanow e3c6f32b50 Gradle: Subplugin loading process is unrelated to kapt 2015-06-11 15:19:51 +03:00
Yan Zhulanow 853cfdb70b kapt: Move class generation methods to core plugin 2015-06-11 15:19:50 +03:00
Yan Zhulanow 3cfdf21aa4 kapt: Create kotlinAfterJava task after project evaluation 2015-06-11 14:53:50 +03:00
Yan Zhulanow 7561b43336 kapt: Warn on using android-apt with kapt 2015-06-11 14:53:50 +03:00
Yan Zhulanow 39d7674886 kapt: Fix compatibility with android-apt 2015-06-11 14:53:49 +03:00
Yan Zhulanow b9bfc659d5 Gradle: Remove logger argument in SubpluginEnvironment 2015-06-11 14:53:48 +03:00
Yan Zhulanow c2073cb575 kapt: Add logging information 2015-06-11 14:53:48 +03:00
Yan Zhulanow 6ed5bbc2f8 kapt: Initial .class stub support in Gradle 2015-06-11 14:53:47 +03:00
Natalia Ukhorskaya 1334f0352b Support com.android.tools.build.gradle 1.3.0-beta1
#KT-7884 Fixed
2015-06-01 14:00:57 +03:00
Yan Zhulanow 2a7b5501f4 Do not generate annotations.txt file if kapt is not used in project 2015-05-27 16:11:08 +03:00
Yan Zhulanow 42ba2860a6 Gradle: Do not save javaTask extract property 2015-05-27 16:11:07 +03:00
Yan Zhulanow c2dd7d197e APT: Use task qualifiers in annotation file names 2015-05-27 16:11:05 +03:00
Yan Zhulanow cbe435ccef APT: Remove stub Java file after Java compile step 2015-05-27 16:11:04 +03:00
Yan Zhulanow 0a450c1739 Fix compatibility issues with Android Gradle plugin 1.2 2015-05-27 16:11:03 +03:00
Natalia Ukhorskaya 0fbcfddf4a Gradle: debug message prefix added 2015-05-27 10:20:09 +03:00
Ilya Gorbunov 33f5158170 Fix deprecated replaceAll and replaceFirst usages in stdlib tests and tools. 2015-05-22 16:13:55 +03:00
Yan Zhulanow 89d3a4b623 Move AnnotationProcessingManager to main kotlin-gradle-plugin 2015-05-21 15:48:30 +03:00
Yan Zhulanow 62a1f8edf3 Rename kotlinApt/ directories to kapt/ 2015-05-21 15:48:25 +03:00
Yan Zhulanow fdc183e3af Apt working dir is now outside the Kotlin classes directory 2015-05-21 15:48:19 +03:00
Yan Zhulanow d93508f4d3 APT: Support non-Android Java projects in Gradle 2015-05-21 15:48:18 +03:00
Yan Zhulanow 803bfd6097 Add kotlin-annotation-processing dependency automatically in kotlinApt configurations 2015-05-21 15:48:15 +03:00
Yan Zhulanow c6e11949b8 Support Android source sets in annotation processing 2015-05-21 15:48:11 +03:00
Yan Zhulanow 3e5b24f2a2 Add output dir for generated sources 2015-05-21 15:48:09 +03:00
Yan Zhulanow f12531dd6d Initial annotation processing support in Gradle 2015-05-21 15:48:07 +03:00
Sergey Mashkov 771af78b06 JS fix gradle example 2015-05-14 23:51:46 +03:00
Sergey Mashkov 13a55ae72e JS use wholeText instead of replaceWholeText() in example 2015-05-14 17:30:34 +03:00
Dmitry Jemerov 2a99f757c4 replace 'trait' keyword with 'interface' in library code 2015-05-12 17:07:46 +02:00
Natalia Ukhorskaya 4d896b47e7 kotlin-android plugin: check minimal version of android plugin 2015-04-27 16:24:51 +03:00
Natalia Ukhorskaya 88e9439d25 kotlin-android plugin: use VariantDataList instead of list of Variant.
Support junit tests
Fix sourceRoot dependencies for productFlavors
#KT-7065 Fixed
#KT-7506 Fixed
2015-04-27 16:24:51 +03:00
Natalia Ukhorskaya cb85da3162 Gradle: update kotlin-gradle-plugin dependencies 2015-04-27 16:24:50 +03:00
Natalia Ukhorskaya 2bccfa99e1 Gradle: update android test to use gradle 2.3 and android-plugin 1.1.0 2015-04-27 16:24:49 +03:00
Natalia Ukhorskaya f0e93d2df5 Gradle: Include java sources to sources, not to classpath
#KT-7503 Fixed
2015-04-27 16:24:47 +03:00
Ilya Gorbunov be11394adf Rename copyToArray() to toTypedArray(). 2015-04-21 21:27:28 +03:00
Pavel V. Talanov a21abeba33 Fix kotlin-gradle-plugin to correctly process java source files
Do not remove outdirectory from cp in maven: this is needed for gradle-plugin build to see files compiled by gmaven
    this may cause problems with running mvn install without clean for kotlin
Remove special magic with groovy-output in gradle-plugin pom.xml
2015-04-16 16:40:55 +03:00
Nikolay Krasko 1c4335ec25 Test background threads are stopped 2015-04-16 00:25:03 +03:00
Nikolay Krasko e304ee0a29 Print project name and command line for debug 2015-04-16 00:25:03 +03:00
Nikolay Krasko 8ed54a6dba Additional stop for JobScheduler
Background threads prevents class loader collect

 #KT-7172 In Progress
2015-04-16 00:25:02 +03:00
Nikolay Krasko ea47e29757 Update ZipFileCache and LowMemoryWatcher from new Idea 2015-04-16 00:25:01 +03:00
Natalia Ukhorskaya 8bd7fe1464 Gradle: add kotlin outputDir to java classPath if kotlin files are up-to-date 2015-04-14 10:41:42 +03:00