[java][tests] Add kotlin-annotatins to classpath to fix warnings

Summary:
Absence of kotlin-annotations led to warnings messages during tests compilation:
```
$ make
warning: unknown enum constant MigrationStatus.STRICT
  reason: class file for kotlin.annotations.jvm.MigrationStatus not found
```

This doesn't affect test results but is annoying, hence the fix.

Reviewed By: mityal

Differential Revision: D23051769

fbshipit-source-id: e45fbe7be
master
Artem Pianykh 4 years ago committed by Facebook GitHub Bot
parent 3fa8c56ce2
commit 570191741a

@ -8,13 +8,14 @@ ROOT_DIR = $(TESTS_DIR)/../..
include $(ROOT_DIR)/Makefile.config include $(ROOT_DIR)/Makefile.config
ANDROID = $(JAVA_LIB_DIR)/android/android-23.jar ANDROID = $(JAVA_LIB_DIR)/android/android-23.jar
ANDROIDX_COLLECTION = $(JAVA_LIB_DIR)/androidx/collection-1.1.0.jar
ANDROIDSUPPORT = $(DEPENDENCIES_DIR)/java/android/support/v4/android-support-v4.jar ANDROIDSUPPORT = $(DEPENDENCIES_DIR)/java/android/support/v4/android-support-v4.jar
ANDROIDX_COLLECTION = $(JAVA_LIB_DIR)/androidx/collection-1.1.0.jar
ANNOTATIONS = $(ANNOTATIONS_DIR)/annotations.jar ANNOTATIONS = $(ANNOTATIONS_DIR)/annotations.jar
GUAVA = $(DEPENDENCIES_DIR)/java/guava/guava-23.0.jar GUAVA = $(DEPENDENCIES_DIR)/java/guava/guava-23.0.jar
INJECT = $(DEPENDENCIES_DIR)/java/jsr-330/javax.inject.jar
JACKSON = $(DEPENDENCIES_DIR)/java/jackson/jackson-2.2.3.jar JACKSON = $(DEPENDENCIES_DIR)/java/jackson/jackson-2.2.3.jar
JSR305 = $(DEPENDENCIES_DIR)/java/jsr-305/jsr305.jar JSR305 = $(DEPENDENCIES_DIR)/java/jsr-305/jsr305.jar
INJECT = $(DEPENDENCIES_DIR)/java/jsr-330/javax.inject.jar KOTLIN_ANNOTATIONS = $(DEPENDENCIES_DIR)/java/kotlin-annotations/kotlin-annotations-jvm-1.3.72.jar
SUNTOOLS = $(DEPENDENCIES_DIR)/java/sun-tools/tools.jar SUNTOOLS = $(DEPENDENCIES_DIR)/java/sun-tools/tools.jar
CLASSPATH=$(ANDROID):$(ANDROIDX_COLLECTION):$(ANDROIDSUPPORT):$(ANNOTATIONS):$(GUAVA):$(JACKSON):$(JSR305):$(INJECT):$(SUNTOOLS):$(JAVA_BUILTINS_DIR):$(TEST_CLASSPATH):. CLASSPATH=$(ANDROID):$(ANDROIDX_COLLECTION):$(ANDROIDSUPPORT):$(ANNOTATIONS):$(GUAVA):$(JACKSON):$(JSR305):$(INJECT):$(KOTLIN_ANNOTATIONS):$(SUNTOOLS):$(JAVA_BUILTINS_DIR):$(TEST_CLASSPATH):.

Loading…
Cancel
Save