----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/51824/ -----------------------------------------------------------
Review request for samza. Repository: samza Description ------- The Samza gradle settings are not setup correctly for joint compilation of Java and Scala. When javac runs before scalac, the .java files that import scala classes will fail compilation. This is because scalac has not run (and hence, has not compiled the imported scala sources to class files). The reverse problem occurs when scalac is run before javac - ie. the .scala files that import java classes will fail compilation. "Joint compilation" refers to compiling scala and java as a single compilation unit. This will disable the `java` plugin and will run the `scala` plugin to joint compile both java and scala sources. Diffs ----- build.gradle 004c81e9173c22dee3e282aad2a58a34a3e46fe2 checkstyle/checkstyle.xml 770b5e7f7a091198bbf53b3908600f9ac0caa4c7 gradle.properties 16e1f5d43f0415c511689480f8cb67d84e2baadf samza-core/src/test/java/org/apache/samza/container/TestLocalityManager.java 9661885c1278c0d1cf53aae61f502ae719adfd51 samza-core/src/test/java/org/apache/samza/container/grouper/task/TestTaskAssignmentManager.java d813fdcd17b963321df4a57708710c9e5a20aa92 Diff: https://reviews.apache.org/r/51824/diff/ Testing ------- `./gradlew build` succeeds, and all unit tests pass Thanks, Jagadish Venkatraman