Skip to content
This repository was archived by the owner on Feb 28, 2021. It is now read-only.

Commit 7fd17e2

Browse files
authored
Merge pull request #191 from eed3si9n/wip/remoteCacheResolvers
remoteCacheResolvers
2 parents 369d49f + c475ec0 commit 7fd17e2

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

build.sbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,5 @@ lazy val sbtBintrayRemoteCache = (project in file("sbt-bintray-remote-cache"))
6767
.settings(commonSettings)
6868
.settings(
6969
name := "sbt-bintray-remote-cache",
70-
pluginCrossBuild / sbtVersion := "1.4.1",
70+
pluginCrossBuild / sbtVersion := "1.4.2",
7171
)

project/build.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sbt.version=1.4.1
1+
sbt.version=1.4.2

sbt-bintray-remote-cache/src/main/scala/BintrayRemoteCachePlugin.scala

+5
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ object BintrayRemoteCachePlugin extends AutoPlugin {
2525

2626
override lazy val projectSettings: Seq[Setting[_]] = Seq(
2727
pushRemoteCacheTo := publishToBintraySetting.value,
28+
remoteCacheResolvers := {
29+
val btyOrg = bintrayRemoteCacheOrganization.value
30+
val repoName = bintrayRemoteCacheRepository.value
31+
List(Resolver.bintrayRepo(btyOrg, repoName))
32+
},
2833
)
2934

3035
def publishToBintraySetting =

0 commit comments

Comments
 (0)