Permalink
Browse files

Update scala exercises version (#3)

* Add snapshot plugin resolver

* Add snapshot version for scala-exercises

* Use new definitions package structure
  • Loading branch information...
1 parent cf9cf15 commit 52acf336c40ba710b4e05165d50a9f1cb90d70c7 @fedefernandez fedefernandez committed with raulraja Jul 7, 2016
View
@@ -5,7 +5,7 @@ lazy val scalacheck = (project in file("."))
organization := "org.scala-exercises",
name := "exercises-scalacheck",
scalaVersion := "2.11.7",
- version := "0.1.2",
+ version := "0.2.1-SNAPSHOT",
resolvers ++= Seq(
Resolver.sonatypeRepo("snapshots"),
Resolver.sonatypeRepo("releases")
@@ -29,7 +29,7 @@ lazy val publishSettings = Seq(
organizationHomepage := Some(new URL("https://scala-exercises.org")),
startYear := Some(2016),
description := "Scala Exercises: The path to enlightenment",
- homepage := Some(url("http://scala-exercises.org")),
+ homepage := Some(url("https://scala-exercises.org")),
pgpPassphrase := Some(sys.env.getOrElse("SE_GPG_PASSPHRASE", "").toCharArray),
pgpPublicRing := file(s"$gpgFolder/pubring.gpg"),
pgpSecretRing := file(s"$gpgFolder/secring.gpg"),
View
@@ -1,2 +1,6 @@
-addSbtPlugin("org.scala-exercises" % "sbt-exercise" % "0.1.1", "0.13", "2.10")
+resolvers ++= Seq(
+ Resolver.sonatypeRepo("snapshots")
+)
+
+addSbtPlugin("org.scala-exercises" % "sbt-exercise" % "0.2.1-SNAPSHOT", "0.13", "2.10")
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.0.0")
@@ -2,7 +2,6 @@ package scalachecklib
import org.scalatest._
import org.scalatest.prop.Checkers
-import PropertiesHelpers._
/** A ''property'' is the testable unit in ScalaCheck, and is represented by the `org.scalacheck.Prop` class.
* There are several ways to create properties in ScalaCheck, one of them is to use the `org.scalacheck.Prop.forAll`
@@ -18,7 +17,9 @@ import PropertiesHelpers._
*
* @param name properties
*/
-object PropertiesSection extends Checkers with Matchers with exercise.Section {
+object PropertiesSection extends Checkers with Matchers with org.scalaexercises.definitions.Section {
+
+ import PropertiesHelpers._
/** ==Universally quantified properties==
*
@@ -4,7 +4,7 @@ package scalachecklib
*
* @param name scalacheck
*/
-object ScalacheckLibrary extends exercise.Library {
+object ScalacheckLibrary extends org.scalaexercises.definitions.Library {
override def owner = "scala-exercises"
override def repository = "exercises-scalacheck"

0 comments on commit 52acf33

Please sign in to comment.