Skip to content
This repository was archived by the owner on Aug 18, 2020. It is now read-only.

Commit af2ca07

Browse files
committed
Use JCenter over https instead of http
1 parent ed3e0bb commit af2ca07

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ libraryDependencies ++= Seq(
8383
libraryDependencies += "com.google.code.gson" % "gson" % "2.8.5"
8484

8585
// JDA
86-
resolvers += "jcenter-bintray" at "http://jcenter.bintray.com"
86+
resolvers += "jcenter-bintray" at "https://jcenter.bintray.com"
8787
libraryDependencies += "net.dv8tion" % "JDA" % "3.8.3_463"
8888

8989
// Serial Communication

build/src/main/scala/org/codeoverflow/chatoverflow/build/SbtFile.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,8 @@ class SbtFile(val name: String, val version: String, val plugins: List[Plugin],
102102
}
103103

104104
if (dependencies.nonEmpty) {
105-
sbtContent append "\nresolvers += \"jcenter-bintray\" at \"http://jcenter.bintray.com\"\n"
105+
sbtContent append "\nresolvers += \"jcenter-bintray\" at \"https://jcenter.bintray.com\"\n"
106106

107-
// Note that the %% in the string are required to escape the string formatter and will turn into a single %
108107
val depString = dependencies.map(m => renderModuleID(m)).mkString(" ", ",\n ", "")
109108

110109
sbtContent append s"libraryDependencies ++= Seq(\n$depString\n)\n"
@@ -119,6 +118,7 @@ class SbtFile(val name: String, val version: String, val plugins: List[Plugin],
119118
private def renderModuleID(m: ModuleID): String = {
120119
var formatString = ""
121120

121+
// Note that the %% in the string are required to escape the string formatter and will turn into a single %
122122
if (m.crossVersion == CrossVersion.binary)
123123
formatString += "\"%s\" %%%% \"%s\" %% \"%s\""
124124
else

0 commit comments

Comments
 (0)