komiya-atsushi / xgboost-predictor-java

Pure Java implementation of XGBoost predictor for online prediction tasks.
Apache License 2.0
339 stars 109 forks source link

xgboost-predictor-spark build error #30

Open bryan-woods opened 6 years ago

bryan-woods commented 6 years ago

I need to resolve some error to get my employer's clearance to contribute a new feature. I'm trying to build the dependencies with gradle: ./gradlew xgboost-predictor-spark:dependencies

But I get the error... Project 'xgboost-predictor-spark' is ambiguous in root project 'xgboost-predictor-java'. Candidates are: 'xgboost-predictor-spark_2.10', 'xgboost-predictor-spark_2.11'.

I don't know enough about the Scala Cross Build plugin from LinkedIn to fix this. The variable is set in: buildSrc/src/main/groovy/com/linkedin/photon/build/plugins/ScalaCrossBuildPlugin.groovy: def scalaSuffix = getScalaVersionSuffix(scalaVersion) buildSrc/src/main/groovy/com/linkedin/photon/build/plugins/ScalaCrossBuildPlugin.groovy: ext.scalaSuffix = scalaSuffix