Drop external annotations support in build tools
External annotations will only be considered in the IDE for additional inspections based on more precise types in Java libraries
This commit is contained in:
committed by
Dmitry Jemerov
parent
f2efd30a5d
commit
13c54a2678
Vendored
+1
-3
@@ -2,14 +2,12 @@ Usage: kotlinc-jvm <options> <source files>
|
||||
where possible options include:
|
||||
-d <directory|jar> Destination for generated class files
|
||||
-classpath (-cp) <path> Paths where to find user class files
|
||||
-annotations <path> Paths to external annotations
|
||||
-include-runtime Include Kotlin runtime in to resulting .jar
|
||||
-no-jdk Don't include Java runtime into classpath
|
||||
-no-stdlib Don't include Kotlin runtime into classpath
|
||||
-no-jdk-annotations Don't include JDK external annotations into classpath
|
||||
-module <path> Path to the module file to compile
|
||||
-script Evaluate the script file
|
||||
-kotlin-home <path> Path to Kotlin compiler home directory, used for annotations and runtime libraries discovery
|
||||
-kotlin-home <path> Path to Kotlin compiler home directory, used for runtime libraries discovery
|
||||
-module-name Module name
|
||||
-nowarn Generate no warnings
|
||||
-verbose Enable verbose logging output
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
$TESTDATA_DIR$/simple.kt
|
||||
-classpath
|
||||
not/existing/path
|
||||
-annotations
|
||||
yet/another/not/existing/path
|
||||
-d
|
||||
$TEMP_DIR$
|
||||
|
||||
@@ -1,3 +1,2 @@
|
||||
warning: classpath entry points to a non-existent location: not/existing/path
|
||||
warning: annotations path entry points to a non-existent location: yet/another/not/existing/path
|
||||
OK
|
||||
|
||||
+1
-3
@@ -3,14 +3,12 @@ Usage: kotlinc-jvm <options> <source files>
|
||||
where possible options include:
|
||||
-d <directory|jar> Destination for generated class files
|
||||
-classpath (-cp) <path> Paths where to find user class files
|
||||
-annotations <path> Paths to external annotations
|
||||
-include-runtime Include Kotlin runtime in to resulting .jar
|
||||
-no-jdk Don't include Java runtime into classpath
|
||||
-no-stdlib Don't include Kotlin runtime into classpath
|
||||
-no-jdk-annotations Don't include JDK external annotations into classpath
|
||||
-module <path> Path to the module file to compile
|
||||
-script Evaluate the script file
|
||||
-kotlin-home <path> Path to Kotlin compiler home directory, used for annotations and runtime libraries discovery
|
||||
-kotlin-home <path> Path to Kotlin compiler home directory, used for runtime libraries discovery
|
||||
-module-name Module name
|
||||
-nowarn Generate no warnings
|
||||
-verbose Enable verbose logging output
|
||||
|
||||
Reference in New Issue
Block a user