Add MavenCentral to RunFromSourceMain's repos

This commit is contained in:
Dale Wijnand 2018-02-06 15:18:50 +00:00
parent 4f4328748c
commit 3d0619fa37
No known key found for this signature in database
GPG Key ID: 4F256E3D151DF5EF
1 changed files with 4 additions and 2 deletions

View File

@ -64,8 +64,10 @@ object RunFromSourceMain {
def globalLock = noGlobalLock
def bootDirectory = appProvider.bootDirectory
def ivyHome = file(sys.props("user.home")) / ".ivy2"
def ivyRepositories = Array(new PredefinedRepository { def id() = Predefined.Local })
def appRepositories = Array(new PredefinedRepository { def id() = Predefined.Local })
final case class PredefRepo(id: Predefined) extends PredefinedRepository
import Predefined._
def ivyRepositories = Array(PredefRepo(Local), PredefRepo(MavenCentral))
def appRepositories = Array(PredefRepo(Local), PredefRepo(MavenCentral))
def isOverrideRepositories = false
def checksums = Array("sha1", "md5")
}