Skip to content

Commit

Permalink
Use stock images
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Pounder authored and Adam Pounder committed Oct 28, 2024
1 parent d73317c commit e11826d
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: 2
jobs:
check:
docker:
- image: gebish/ci:v13
- image: eclipse-temurin:21-jdk
resource_class: large
environment:
GRADLE_OPTS: -Xmx1024m -XX:MaxMetaspaceSize=256m
Expand Down Expand Up @@ -30,7 +30,7 @@ jobs:
- .gradle-home
manual:
docker:
- image: gebish/ci:v13
- image: selenium/standalone-firefox
environment:
GRADLE_OPTS: "-Xmx1024m -XX:MaxMetaspaceSize=256m"
GRADLE_USER_HOME: ".gradle-home"
Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:
- .gradle-home
dockerised-cross-browser:
docker:
- image: gebish/ci:v13
- image: eclipse-temurin:21-jdk
environment:
GRADLE_OPTS: "-Xmx1024m -XX:MaxMetaspaceSize=256m"
GRADLE_USER_HOME: ".gradle-home"
Expand Down Expand Up @@ -91,7 +91,7 @@ jobs:
- .gradle-home
local-cross-browser:
docker:
- image: gebish/ci:v13
- image: selenium/standalone-chromium
resource_class: large
environment:
GRADLE_OPTS: -Xmx1024m -XX:MaxMetaspaceSize=256m
Expand All @@ -115,7 +115,7 @@ jobs:
- .gradle-home
saucelabs:
docker:
- image: gebish/ci:v13
- image: eclipse-temurin:21-jdk
resource_class: large
environment:
GRADLE_OPTS: -Xmx1024m -XX:MaxMetaspaceSize=256m
Expand Down Expand Up @@ -172,7 +172,7 @@ jobs:
# - .gradle-home
non-ie:
docker:
- image: gebish/ci:v13
- image: eclipse-temurin:21-jdk
resource_class: large
environment:
GRADLE_OPTS: -Xmx1024m -XX:MaxMetaspaceSize=256m
Expand All @@ -198,7 +198,7 @@ jobs:
- .gradle-home
ie:
docker:
- image: gebish/ci:v13
- image: eclipse-temurin:21-jdk
resource_class: large
environment:
GRADLE_OPTS: -Xmx1024m -XX:MaxMetaspaceSize=256m
Expand All @@ -224,7 +224,7 @@ jobs:
- .gradle-home
upload:
docker:
- image: gebish/ci:v13
- image: eclipse-temurin:21-jdk
resource_class: large
environment:
GRADLE_OPTS: -Xmx1024m -XX:MaxMetaspaceSize=256m
Expand All @@ -245,7 +245,7 @@ jobs:
- .gradle-home
publish-site:
docker:
- image: gebish/ci:v13
- image: alpine/git
steps:
- checkout
- run:
Expand All @@ -254,7 +254,7 @@ jobs:
git push -f heroku master
trigger-example-projects-4.x:
docker:
- image: gebish/ci:v13
- image: alpine/curl
steps:
- run:
command: |
Expand All @@ -264,7 +264,7 @@ jobs:
curl -H "Authorization: Bearer ${APPVEYOR_TOKEN}" -H "Content-type: application/json" -X POST https://ci.appveyor.com/api/builds -d '{"accountName": "erdi", "projectSlug": "geb-example-gradle", "branch": "4.x"}'
trigger-example-projects-master:
docker:
- image: gebish/ci:v13
- image: alpine/curl
steps:
- run:
command: |
Expand Down
6 changes: 6 additions & 0 deletions buildSrc/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ plugins {
id 'groovy-gradle-plugin'
}

java {
toolchain {
languageVersion = JavaLanguageVersion.of(11)
}
}

repositories {
gradlePluginPortal()
mavenCentral()
Expand Down
14 changes: 14 additions & 0 deletions buildSrc/settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,20 @@
* limitations under the License.
*/

plugins {
id("org.gradle.toolchains.foojay-resolver")
}

toolchainManagement {
jvm {
javaRepositories {
repository("foojay") {
resolverClass = org.gradle.toolchains.foojay.FoojayToolchainResolver
}
}
}
}

dependencyResolutionManagement {
versionCatalogs {
libs {
Expand Down
11 changes: 11 additions & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
plugins {
id "org.kordamp.gradle.oci-build-cache" version "0.6.0"
id("org.gradle.toolchains.foojay-resolver") version "0.8.0"
}

include "module",
Expand Down Expand Up @@ -62,3 +63,13 @@ buildCache {
}
}
}

toolchainManagement {
jvm {
javaRepositories {
repository("foojay") {
resolverClass = org.gradle.toolchains.foojay.FoojayToolchainResolver
}
}
}
}

0 comments on commit e11826d

Please sign in to comment.