Browse Source

Introduce global repository resolution for compose-web Docker build image

pull/603/head
Shagen Ogandzhanian 4 years ago
parent
commit
2b44bc348f
  1. 1
      ci/docker/compose-web/Dockerfile
  2. 63
      ci/docker/compose-web/init.gradle

1
ci/docker/compose-web/Dockerfile

@ -22,6 +22,7 @@ RUN echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/so
COPY chrome-no-sandbox /usr/bin/chrome-no-sandbox
COPY gradle.properties /root/.gradle/gradle.properties
COPY init.gradle /root/.gradle/init.gradle
RUN chmod u+x /usr/bin/chrome-no-sandbox
RUN mkdir ~/bin

63
ci/docker/compose-web/init.gradle

@ -0,0 +1,63 @@
initscript {
repositories {
maven { url "https://plugins.gradle.org/m2" }
}
dependencies {
classpath "gradle.plugin.com.dorongold.plugins:task-tree:1.5"
}
}
rootProject {
apply plugin: com.dorongold.gradle.tasktree.TaskTreePlugin
}
settingsEvaluated { settings ->
settings.pluginManagement {
repositories.clear()
repositories {
mavenCentral()
gradlePluginPortal()
google()
maven {
url("https://packages.jetbrains.team/maven/p/ui/dev")
}
}
}
}
allprojects {
buildscript {
repositories {
mavenCentral()
gradlePluginPortal()
google()
maven {
url("https://packages.jetbrains.team/maven/p/ui/dev")
}
maven {
url("https://dl.bintray.com/kotlin/kotlin-dev")
}
maven {
url("https://maven.pkg.jetbrains.space/public/p/compose/dev")
}
}
}
repositories {
mavenCentral()
gradlePluginPortal()
google()
jcenter()
maven {
url("https://packages.jetbrains.team/maven/p/ui/dev")
}
maven {
url("https://dl.bintray.com/kotlin/kotlin-dev")
}
maven {
url("https://maven.pkg.jetbrains.space/public/p/compose/dev")
}
}
}
Loading…
Cancel
Save