Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
giabao committed Oct 6, 2013
1 parent c22f66b commit 2c02c71
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 2 deletions.
39 changes: 38 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
organization := "sandinh"
organization := "com.sandinh"

name := "play-jdbc-standalone"

Expand Down Expand Up @@ -33,3 +33,40 @@ libraryDependencies ++= Seq(
"com.google.guava" % "guava" % "15.0",
"tyrex" % "tyrex" % "1.0.1"
)

publishTo := {
val nexus = "https://oss.sonatype.org/"
if (version.value.trim.endsWith("SNAPSHOT"))
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
}

publishMavenStyle := true

publishArtifact in Test := false

pomIncludeRepository := { _ => false }

pomExtra := (
<url>https://github.com/giabao/play-jdbc-standalone</url>
<licenses>
<license>
<name>Apache 2</name>
<url>http://www.apache.org/licenses/LICENSE-2.0</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>git@github.com:giabao/play-jdbc-standalone.git</url>
<connection>scm:git:git@github.com:giabao/play-jdbc-standalone.git</connection>
</scm>
<developers>
<developer>
<id>giabao</id>
<name>Gia Bảo</name>
<email>giabao@sandinh.net</email>
<organization>Sân Đình</organization>
<organizationUrl>http://sandinh.com</organizationUrl>
</developer>
</developers>)
2 changes: 1 addition & 1 deletion play/src/main/scala/play/api/SimpleApplication.scala
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import play.utils.Threads
*/
class SimpleApplication(devAppPath: File, val mode: Mode.Mode = Mode.Test) extends Application{
/** Constructor for Prod mode.
* Configuration will be load using [[play.api.Configuration#dontAllowMissingConfig()]] */
* Configuration will be load using play.api.Configuration#dontAllowMissingConfig() */
def this() = this(null, Mode.Prod)

def classloader = this.getClass.getClassLoader
Expand Down

0 comments on commit 2c02c71

Please sign in to comment.