Skip to content

Commit b93b53d

Browse files
committed
Publish build scans and upgrade GH actions workflow
1 parent e10c4ea commit b93b53d

File tree

2 files changed

+21
-25
lines changed

2 files changed

+21
-25
lines changed

.github/workflows/build.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
name: Build Plugin
22
on: [ push, pull_request ]
33
jobs:
4-
build:
4+
gradle-build:
55
runs-on: ubuntu-latest
6-
strategy:
7-
fail-fast: true
8-
matrix:
9-
jdk: [ 11 ]
106
steps:
11-
- uses: actions/checkout@v2
12-
- uses: actions/setup-java@v2
7+
- name: git clone
8+
uses: actions/checkout@v2
9+
- name: Set up JDK 8
10+
uses: actions/[email protected]
1311
with:
14-
java-version: ${{ matrix.jdk }}
15-
distribution: temurin
16-
- uses: eskatos/gradle-command-action@v1
12+
distribution: 'zulu'
13+
java-version: 8
14+
- name: gradle build
15+
id: gradle
16+
uses: gradle/[email protected]
1717
with:
1818
arguments: :build

settings.gradle.kts

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,13 @@
1-
/*
2-
* Copyright 2020 the original author or authors.
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
15-
*/
1+
plugins {
2+
id("com.gradle.enterprise") version "3.10"
3+
}
164

175
rootProject.name = "extra-java-module-info"
6+
7+
gradleEnterprise {
8+
buildScan {
9+
publishAlways()
10+
termsOfServiceUrl = "https://gradle.com/terms-of-service"
11+
termsOfServiceAgree = "yes"
12+
}
13+
}

0 commit comments

Comments
 (0)