Change web scalaVersion to 2.10.6, increase SBT heap size to compile

This commit is contained in:
Yi Wang 2016-10-20 10:49:04 -07:00
parent 664e4072bb
commit 623b1f733a
5 changed files with 4 additions and 17 deletions

View File

@ -9,6 +9,8 @@ before_install:
- unzip -q typesafe-activator-1.3.11-minimal.zip && rm typesafe-activator-1.3.11-minimal.zip && mv activator-1.3.11-minimal $HOME/
- export ACTIVATOR_HOME="$HOME/activator-1.3.11-minimal"
- echo $ACTIVATOR_HOME
# increase SBT build tool max heap size
- export SBT_OPTS="-Xms1G -Xmx1G -Xss2M -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled"
# elasticsearch
- curl -O https://download.elastic.co/elasticsearch/release/org/elasticsearch/distribution/deb/elasticsearch/2.3.3/elasticsearch-2.3.3.deb && sudo dpkg -i --force-confnew elasticsearch-2.3.3.deb && sudo service elasticsearch restart

Binary file not shown.

View File

@ -1,4 +1,4 @@
#Mon May 16 14:53:29 CEST 2016
#Wed Oct 19 15:56:42 PDT 2016
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME

View File

@ -4,7 +4,7 @@ version := "1.0-SNAPSHOT"
lazy val root = (project in file(".")).enablePlugins(PlayJava, SbtTwirl)
scalaVersion := "2.11.7"
scalaVersion := "2.10.6"
libraryDependencies ++= Seq(
javaJdbc,

View File

@ -1,15 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-4.1.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-4.1.xsd">
<context:component-scan base-package="controllers,security"/>
<bean name="AuthenticatedAction" class="play.mvc.Security.AuthenticatedAction" autowire-candidate="true"></bean>
</beans>