Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
cd9a7a0
AVRO-3732: [gradle-plugin] import gradle plugin from gradle-avro-plug…
SingingBush May 20, 2024
b41d607
AVRO-3731:[gradl- avro-plugin] Integrates software donation of gradle…
RanbirK Jun 10, 2024
499a1b1
Merge remote-tracking branch 'upstream/main' into avro-3731-gradle-av…
Jan 24, 2025
da0e6a0
AVRO-3731: [gradle-avro-plugin] Add license to Gradle github action f…
Jan 28, 2025
dfc706c
AVRO-3731: [gradle-avro-plugin] Remove unneeded files
Jan 28, 2025
eb2bc46
Remove old Gradle version
Mar 10, 2025
9d94688
remove versions from compatibility matrix
Mar 14, 2025
c2b410b
Update Gradle versions
Mar 14, 2025
848097c
Remove on push
Mar 14, 2025
1265a53
Cleanup readme
Apr 2, 2025
0545f04
Cleanup readme
Apr 2, 2025
97a499a
Update Github action
Apr 2, 2025
b3122a7
Rename GH action file
Apr 2, 2025
b6963e3
Update GH action
Apr 2, 2025
2a15e3f
Try Java 21 for compatibility
Apr 2, 2025
df17d97
Merge remote-tracking branch 'upstream/main' into avro-3731-gradle-av…
Jun 26, 2025
f610c4c
Merge remote-tracking branch 'upstream/main' into avro-3731-gradle-av…
Jun 28, 2025
9a7e883
Remove publish CI
Jun 28, 2025
d7f11e6
Update Avro to 1.12.0
Jun 28, 2025
156e993
Try and fix build
Jun 28, 2025
90ab778
Remove old Gradle 7.6 from CI
Jun 28, 2025
6b3fcbc
Update Gradle to 8.14 in CI
Jun 28, 2025
dd742a8
Remove redundant CI
Jun 28, 2025
5111231
Remove java 11
Jun 28, 2025
b2b364c
Update outdated Github action
Jun 28, 2025
851e341
AVRO-3731 [java/gradle-plugin] retry on any schema parse failure (#3384)
steven-aerts Jun 29, 2025
8d5a52f
Update Avro to 1.12 and fix most migration issues
Jul 5, 2025
4a16f45
Merge remote-tracking branch 'upstream/avro-3731-gradle-avro-plugin' …
Jul 5, 2025
64ed2cc
Remove 1.11.4 from compatibility matrix
Jul 6, 2025
4510296
Fix Checkstyle issues
Jul 6, 2025
4ef9725
Fix Checkstyle issues
Jul 6, 2025
76e3525
Try and fix gradle build
Jul 6, 2025
a040edd
Try and fix gradle build
Jul 6, 2025
3dcafa3
Fix pipeline
Jul 6, 2025
65d2f4d
Set different working directory for pipeline
Jul 6, 2025
ad2ad3f
Fix checkstyle issues
Jul 6, 2025
0499977
Remove Codenarc, it's for Groovy code
Jul 6, 2025
139e4c1
Add Avro version
Oct 3, 2025
5b4290c
Remove non-LTS Java
Oct 3, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions .github/workflows/gradle-compatibility.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.

# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.

name: Gradle Compatibility Tests
on: [ pull_request ]
jobs:
test:
name: "Compatibility: gradle ${{ matrix.gradle }}, java ${{ matrix.java }}, avro ${{matrix.avro}}"
runs-on: "ubuntu-latest"
strategy:
matrix:
avro: [ "1.12.0" ]
gradle: [ "8.14" ]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this automatically use the latest patch version of 8.14 ? I.e. 8.14.3

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it be a good idea to use Gradle 9.x ?

java: [ "17" ]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Those are outdated but Dependabot will upgrade them once this PR is merged

with:
distribution: "zulu"
java-version: ${{ matrix.java }}
- uses: gradle/gradle-build-action@v2
with:
build-root-directory: lang/java/gradle-plugin
gradle-executable: lang/java/gradle-plugin/gradlew
arguments: testCompatibility -PavroVersion=${{ matrix.avro }} -PgradleVersion=${{ matrix.gradle }}
43 changes: 43 additions & 0 deletions .github/workflows/gradle-plugin-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.

# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.

name: Gradle plugin build
on: [ pull_request ]
jobs:
build:
name: "Build Gradle plugin"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: debug pwd
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

debug leftovers

run: |
echo "pwd:"
pwd
echo "ls"
ls -la
- name: Execute Gradle build
working-directory: lang/java/gradle-plugin
run: ./gradlew build
31 changes: 31 additions & 0 deletions .github/workflows/gradle-wrapper-validation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.

# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.

# See https://github.com/marketplace/actions/gradle-wrapper-validation
name: "Validate Gradle Wrapper"
on: [ pull_request ]

jobs:
validation:
name: "Validation"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: gradle/actions/wrapper-validation@v3
64 changes: 64 additions & 0 deletions .github/workflows/java-compatibility.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# Licensed to the Apache Software Foundation (ASF) under one or more
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's rename this file to gradle-...

# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.

# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.

# See https://docs.gradle.org/current/userguide/compatibility.html
name: Gradle Java Compatibility Tests
on: [ pull_request ]
jobs:
java17:
name: "Compatibility: java ${{ matrix.java }}/gradle ${{ matrix.gradle }}"
runs-on: "ubuntu-latest"
strategy:
matrix:
avro: [ "1.12.0" ]
gradle: [ "8.14" ]
java: [ "17" ]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: "zulu"
java-version: ${{ matrix.java }}
- uses: gradle/gradle-build-action@v2
with:
build-root-directory: lang/java/gradle-plugin
gradle-executable: lang/java/gradle-plugin/gradlew
arguments: testCompatibility -PavroVersion=${{ matrix.avro }} -PgradleVersion=${{ matrix.gradle }}
java-ea:
name: "Compatibility: java ${{ matrix.java }}/gradle ${{ matrix.gradle }}"
runs-on: "ubuntu-latest"
strategy:
matrix:
avro: [ "1.12.0" ]
gradle: [ "8.14" ]
java: [ "21" ]
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: "zulu"
java-version: ${{ matrix.java }}
- uses: gradle/gradle-build-action@v2
continue-on-error: true
with:
build-root-directory: lang/java/gradle-plugin
gradle-executable: lang/java/gradle-plugin/gradlew
arguments: testCompatibility -PavroVersion=${{ matrix.avro }} -PgradleVersion=${{ matrix.gradle }}
41 changes: 41 additions & 0 deletions .github/workflows/os-compatibility.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Licensed to the Apache Software Foundation (ASF) under one or more
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's rename this file to gradle-...

# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.

# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.

name: OS Compatibility
on: [ pull_request ]
jobs:
build:
name: "Compatibility: ${{ matrix.os }}"
runs-on: ${{ matrix.os }}
strategy:
matrix:
java: [ "17" ]
os: [ ubuntu-latest, windows-latest, macOS-latest ] # All supported OS
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: zulu
java-version: ${{ matrix.java }}
- uses: gradle/gradle-build-action@v2
with:
build-root-directory: lang/java/gradle-plugin
gradle-executable: lang/java/gradle-plugin/gradlew
arguments: test
13 changes: 13 additions & 0 deletions lang/java/gradle-plugin/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# EditorConfig is awesome: http://EditorConfig.org

root = true

[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
indent_style = space
indent_size = 4

[*.yml]
indent_size = 2
Loading