Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AVRO-3732: [gradle-plugin] import gradle plugin from gradle-avro-plugin #2310

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
521 commits
Select commit Hold shift + click to select a range
482f457
Try again to avoid gradle welcome banner in CI
davidmc24 Oct 15, 2019
a89d14d
ci: try turning on github actions compatibility tests
davidmc24 Oct 15, 2019
bc0e047
fix ci syntax
davidmc24 Oct 15, 2019
16f1213
ci: fix yaml indentation
davidmc24 Oct 15, 2019
6024013
ci: comment out fail fast
davidmc24 Oct 15, 2019
f6addc8
ci: fix matrix structure
davidmc24 Oct 15, 2019
4e7e41c
CI: try matrix with allowed failures
davidmc24 Oct 15, 2019
986a35c
CI: give up on conditional failures allowed for now; exclude java 13
davidmc24 Oct 15, 2019
e06261f
CI: info output for builds
davidmc24 Oct 15, 2019
ada5123
Try to resolve the test failures on windows regarding default encodin…
davidmc24 Oct 15, 2019
9c376d5
Fix encoding support on windows, for real this time
davidmc24 Oct 15, 2019
7bf9337
CI: add unsupported-java-versions job
davidmc24 Oct 15, 2019
7d9b9be
CI: run the unsupported java versions job on all the OS versions
davidmc24 Oct 15, 2019
29103e0
README: Update badge to use github actions rather than travis
davidmc24 Oct 16, 2019
2c8725e
add support for generating optional getters
Oct 16, 2019
e375c75
README: fix CI badge syntax
davidmc24 Oct 16, 2019
a2e1725
README: fix CI badge image
davidmc24 Oct 16, 2019
9c83b7d
Merge branch 'github-actions'
davidmc24 Oct 16, 2019
cbcce71
add doc for optional getter field generation
Oct 16, 2019
1d5674a
Merge pull request #90 from bspeakmon/feature/add-optional-type-support
davidmc24 Oct 17, 2019
7aa5f6f
Update changelog to note the recent merged pull request
davidmc24 Oct 17, 2019
e4b09a4
CI: disable the gradle daemon to try to eliminate the sporadic clean …
davidmc24 Oct 17, 2019
7da5f43
Remove security policy; not a CommerceHub OSS project any more
davidmc24 Oct 17, 2019
95f992d
Update various files for commercehub-oss -> davidmc24 github move
davidmc24 Oct 17, 2019
5fa162d
Working version of custom conversions against modern gradle; still ne…
davidmc24 Nov 15, 2019
bb62c99
Don't use MapProperty yet; it wasn't introduced until Gradle 5.1
davidmc24 Nov 15, 2019
a861cf2
Don't use ListProperty
davidmc24 Nov 15, 2019
f0b1206
Don't use Class.newInstance(), as it was deprecated in Java 11
davidmc24 Nov 15, 2019
5070f7e
Update issue templates
davidmc24 Nov 19, 2019
6483614
Update bug_report.md to add a checklist
davidmc24 Nov 19, 2019
aafbe2a
Update feature_request.md to include a checklist
davidmc24 Nov 19, 2019
01e0cee
Merge branch 'customConversions'
davidmc24 Feb 10, 2020
852d719
CI: don't bother doing maintenance builds on old OS versions; only us…
davidmc24 Feb 10, 2020
cc7a521
CI: update another place with os versions that I missed
davidmc24 Feb 10, 2020
84e1392
version: 0.18.0
davidmc24 Feb 10, 2020
740f352
version: 0.18.1-SNAPSHOT
davidmc24 Feb 10, 2020
302f895
update to Avro 1.9.2 since https://issues.apache.org/jira/browse/AVRO…
markush81 Feb 23, 2020
97e2999
Add support for Gradle 6.0-6.2, drop support for gradle <5.1 (#101)
davidmc24 Feb 24, 2020
d58d332
Merge pull request #104 from markush81/master
davidmc24 Feb 24, 2020
6fe19a5
Update changelog for #104
davidmc24 Feb 24, 2020
6b1f1df
Add support for Java 13
davidmc24 Feb 25, 2020
5dfc8b8
Add support for testing multiple kotlin versions
davidmc24 Mar 3, 2020
8706374
Update plugin's own build to address some deprecation warnings of API…
davidmc24 Mar 3, 2020
d0d1baf
BuildCacheSupportFunctionalSpec no longer needs an @IgnoreIf, as we o…
davidmc24 Mar 3, 2020
b5a655d
Remove license plugin
davidmc24 Mar 3, 2020
923956d
Lots of test updates
davidmc24 Mar 3, 2020
271fef0
Add tests for Kotlin DSL usage (#61)
davidmc24 Mar 3, 2020
c7b0172
Handle a test that appears to fail on Windows due to weird file locki…
davidmc24 Mar 4, 2020
4debab9
Update to note a Kotlin-Java version incompatibility
davidmc24 Mar 4, 2020
28f166c
Update to gradle 6.2.2
davidmc24 Mar 4, 2020
2bfbcb3
Official Gradle Wrapper Validation Action
davidmc24 Mar 4, 2020
33b182c
Support Task Configuration Avoidance (#97)
davidmc24 Mar 5, 2020
a89f26f
Update test result directory names
davidmc24 Mar 5, 2020
8c51d8e
Work around a bug showing in Gradle 5.1
davidmc24 Mar 5, 2020
a365cda
See if we can get Java 14 support working with a Gradle 6.3 nightly b…
davidmc24 Mar 9, 2020
597214d
Update codenarc support so it works in Java 14+; update compatibility…
davidmc24 Mar 9, 2020
68c0076
version: 0.19.0
davidmc24 Mar 16, 2020
02c43f0
version: 0.19.1-SNAPSHOT
davidmc24 Mar 16, 2020
4a67920
Create FUNDING.yml
davidmc24 Mar 20, 2020
9eddf00
Update bug_report.md
davidmc24 Mar 24, 2020
f277616
Fix schema dependency resolution when types are referenced with a `{ …
davidmc24 Mar 28, 2020
9c633b7
Eliminate `NullPointerException` handling in schema dependency resolu…
davidmc24 Mar 28, 2020
e54847a
version: 0.19.1
davidmc24 Mar 30, 2020
ff699b8
version: 0.19.2-SNAPSHOT
davidmc24 Mar 30, 2020
644a744
Add (#115)
davidmc24 Jun 12, 2020
7c82319
Update version compatibility support
davidmc24 Jun 15, 2020
5bad604
version: 0.20.0
davidmc24 Jun 17, 2020
0dd326f
version: 0.20.1-SNAPSHOT
davidmc24 Jun 17, 2020
a5ad2f5
ci: Tweak how the jobs are run to reduce execution time and unreliabi…
davidmc24 Jun 18, 2020
dd0a7a8
CI: try using eskatos/gradle-command-action to improve build speed
davidmc24 Jun 18, 2020
d0d48fe
CI: try turning on build scans
davidmc24 Jun 18, 2020
ea06bcc
CI: fix the build
davidmc24 Jun 18, 2020
46956aa
CI: some build tweaks for performance
davidmc24 Jun 18, 2020
109e700
Correcting cache annotation for classpath
dcabasson Jun 26, 2020
8424b7c
Correcting cache annotation for classpath - add items to unreleased c…
dcabasson Jun 26, 2020
bde328d
Merge pull request #118 from dcabasson/cache
davidmc24 Jun 27, 2020
71a4507
Update to Avro 1.10.0
mcwhitak Jun 27, 2020
0fc1ba3
Add a test project to aid in reproducing problems
davidmc24 Jun 28, 2020
84dd600
Test cleanup and CHANGES.md additions for Avro 1.10.0 support
mcwhitak Jun 28, 2020
aa47f0b
Fix test name for optionalGettersForNullableFieldsOnly
mcwhitak Jun 28, 2020
aca1563
Merge branch 'master' into avro-1.10.0
mcwhitak Jun 28, 2020
4c49025
Confirm that the nullable getter is still generated when createOption…
davidmc24 Jun 28, 2020
f02b712
Formatting fixes and test simplification
mcwhitak Jun 28, 2020
ef0ed53
Merge branch 'avro-1.10.0' of https://github.com/mcwhitak/gradle-avro…
mcwhitak Jun 28, 2020
27d921d
Fix optionalGettersForNullableFieldsOnly test naming and CHANGES form…
mcwhitak Jun 28, 2020
2235edd
Ensure option conditions are checked against relevant file portions
mcwhitak Jun 29, 2020
1c33e4f
Remove apache staging dependency and pull release from JCenter
mcwhitak Jun 30, 2020
c429e71
Merge branch 'master' of github.com:davidmc24/gradle-avro-plugin into…
mcwhitak Jun 30, 2020
461b565
Ensure createOptionalGetters test checks correct mainClassContent
mcwhitak Jun 30, 2020
f3d8b11
Remove extraneous newline from test repository definition
mcwhitak Jun 30, 2020
6d3d676
Merge pull request #119 from mcwhitak/avro-1.10.0
davidmc24 Jun 30, 2020
8fd8f5f
version: 0.21.0
davidmc24 Jul 1, 2020
25eab8b
version: 0.21.1-SNAPSHOT
davidmc24 Jul 1, 2020
3fd9988
build: add coverage reporting using JaCoCo and Codecov
davidmc24 Aug 6, 2020
4ed611b
CI: flag codecov report by OS
davidmc24 Aug 6, 2020
bb8c500
Add support for multiple IDL files with the same name in different di…
davidmc24 Aug 6, 2020
ec6b119
Update AvroUtils and Strings, with unit test coverage
davidmc24 Aug 6, 2020
852e371
Fix codenarc failures
davidmc24 Aug 6, 2020
c82a1be
Fix a test typo (Fixes #125)
davidmc24 Sep 30, 2020
35ea37e
Update test-project to remove references to dataTimeLogicalType
davidmc24 Sep 30, 2020
1d0a257
Plugin DSL is no longer incubating, and is now recommended.
davidmc24 Dec 2, 2020
443a410
Upgrade to Avro 0.10.1 because of https://issues.apache.org/jira/brow…
vlk32 Dec 11, 2020
470db3d
Added compatibility testing against 1.10.0 and 1.10.1
vlk32 Dec 13, 2020
1fe0eb4
More spock assert about generated Java Code was added. Type uuid is n…
vlk32 Dec 13, 2020
fa7d7a9
Avro 1.10.1 was set also in test-project/build.gradle
vlk32 Dec 13, 2020
7a24f2b
Merge pull request #131 from vlk32/master
davidmc24 Dec 14, 2020
1ef6052
Minor post pull-request-merge tweaks
davidmc24 Dec 14, 2020
fe564af
Update compatibility with Java/Gradle, tweak build spead
davidmc24 Dec 14, 2020
099719f
Improve Java version support
davidmc24 Dec 14, 2020
842c328
Correct Java 15 Gradle version compatibility
davidmc24 Dec 14, 2020
5ba8e29
Add support for configuration cache and update kotlin testing
davidmc24 Dec 16, 2020
ee13037
Make codenarc happy
davidmc24 Dec 16, 2020
0b45c89
Address not all versions of kotlin plugin supporting config cache
davidmc24 Dec 17, 2020
c4393b8
Merge pull request #132 from davidmc24/config-cache
davidmc24 Dec 17, 2020
58ecb42
version: 0.22.0
davidmc24 Dec 18, 2020
a9ae91c
version: 0.23.0-SNAPSHOT
davidmc24 Dec 18, 2020
946cf47
Add link to discussions for Q&A
davidmc24 Feb 8, 2021
37a023c
Revert "Add link to discussions for Q&A"
davidmc24 Feb 8, 2021
ef5a83d
Add link to discussions for Q&A
davidmc24 Feb 8, 2021
fd16d06
Merge pull request #137 from davidmc24/template-chooser
davidmc24 Feb 8, 2021
31ce146
Add feature requests to template chooser
davidmc24 Feb 8, 2021
c28094d
Try moving feature requests to discussions
davidmc24 Feb 8, 2021
15f1b33
Update README to reflect changes in historical version handling
davidmc24 Feb 8, 2021
a21c0a7
Update notes about pre-1.0 versions
davidmc24 Feb 9, 2021
8c2d2e6
Work towards a 1.0 release
davidmc24 Feb 9, 2021
4301939
Fix up POMs, add signing; to satisfy Maven Central requirements
davidmc24 Feb 9, 2021
9d2bf1b
version: 1.0.0
davidmc24 Feb 9, 2021
8042994
version: 1.0.1-SNAPSHOT
davidmc24 Feb 9, 2021
d46e154
version: 1.0.0 (take 2)
davidmc24 Feb 9, 2021
5c0020d
version: 1.0.0 (take 3)
davidmc24 Feb 9, 2021
6c8b229
version: 1.0.1-SNAPSHOT
davidmc24 Feb 9, 2021
d0889bb
Remove remaining references to jcenter
davidmc24 Feb 10, 2021
1e0491c
Build using Avro 1.10.2
davidmc24 Mar 31, 2021
5f22915
Build using Gradle 6.8.3
davidmc24 Mar 31, 2021
5d6b03c
Try running compatibility tests from github actions rather than gradle
davidmc24 Mar 31, 2021
361e517
Try extracting kotlin plugin compatibility testing to its own workflow
davidmc24 Apr 1, 2021
8c3108e
Try to fix CI job
davidmc24 Apr 1, 2021
2fcae90
Try to fix CI job
davidmc24 Apr 1, 2021
d0b980d
Fix testKotlinPluginCompatibility
davidmc24 Apr 1, 2021
81d4b8f
Next try at kotlin compatibility
davidmc24 Apr 1, 2021
e3b76bd
More matrix stuff
davidmc24 Apr 1, 2021
a442243
More matrix compatibility tweaks
davidmc24 Apr 1, 2021
ffba98d
More matrix compatibility tweaks
davidmc24 Apr 1, 2021
ec08b3e
More matrix compatibility tweaks
davidmc24 Apr 1, 2021
45dca86
More matrix compatibility tweaks
davidmc24 Apr 1, 2021
022745b
Upgrade gradle used to build the project to 7.0-rc-1 in order to supp…
davidmc24 Apr 1, 2021
016c5a5
More changes for Gradle 7 compatibility
davidmc24 Apr 1, 2021
d19a36e
Add gradle compatibility tests
davidmc24 Apr 1, 2021
79a619d
More spock 2.0 and Gradle 7 compatibility changes
davidmc24 Apr 2, 2021
1ede2cb
Fix checkstyle violation
davidmc24 Apr 2, 2021
5066bb3
Tweak CI targets
davidmc24 Apr 2, 2021
1b845b7
Adjust compatibility notes/testing for java 16/17
davidmc24 Apr 2, 2021
a7a4a7c
Use nexus publish plugin to automate management of OSSRH interactions
davidmc24 Apr 2, 2021
814182e
Merge branch 'publishing'
davidmc24 Apr 2, 2021
27dfa92
Merge branch 'master' into matrix-compat
davidmc24 Apr 2, 2021
e15472b
Adjust test report directories
davidmc24 Apr 2, 2021
d4bec4c
Fix os compatibility tests
davidmc24 Apr 2, 2021
fac4739
Merge branch 'matrix-compat'
davidmc24 Apr 2, 2021
bb799dd
Update changelog
davidmc24 Apr 2, 2021
0a5dad3
version: 1.1.0
davidmc24 Apr 2, 2021
31abdf9
version: 1.1.1-SNAPSHOT
davidmc24 Apr 2, 2021
7cd0ed7
Try to fix publishing
davidmc24 Apr 2, 2021
4fb85a4
Temporary change to test the CI publishing fix
davidmc24 Apr 2, 2021
9cda2c7
Revert "Temporary change to test the CI publishing fix"
davidmc24 Apr 2, 2021
b43641a
Merge branch 'fix-publish'
davidmc24 Apr 2, 2021
71583e8
Re-add support for Avro 1.9.x
davidmc24 Apr 12, 2021
a519def
Update release notes
davidmc24 Apr 12, 2021
b78769e
Throw error if avdl will be overwritten
olahungerford Apr 21, 2021
fcedbd6
Add to changelog
olahungerford Apr 21, 2021
269014e
Minor touchups on avpr conflict detection
davidmc24 Apr 22, 2021
9b0a7d9
Add support for better coverage reporting... and disable it because i…
davidmc24 Apr 22, 2021
4711f6f
Merge branch 'feature/fail-if-avpr-will-be-overwritten'
davidmc24 Apr 22, 2021
eca77e9
version: 1.2.0
davidmc24 Apr 22, 2021
326331c
version: 1.2.1-SNAPSHOT
davidmc24 Apr 22, 2021
3a6f034
Add examples/default-custom-types
davidmc24 Apr 28, 2021
361bc67
Update for Gradle 7.1
davidmc24 Jun 30, 2021
877db97
CI: update to setup-java v2
davidmc24 Jul 1, 2021
0c34b67
Update comment on code coverage support
davidmc24 Jul 1, 2021
055f74c
Update build/test to Gradle 7.1.1
davidmc24 Jul 22, 2021
70214ff
Update test-project to reproduce #167
davidmc24 Jul 22, 2021
f20f200
Explicitly declare dependencies between sources jar tasks and Generat…
davidmc24 Jul 22, 2021
20f6337
Satisfy checkstyle
davidmc24 Jul 22, 2021
38240de
Simplify sources jar handling and fix configuration avoidance
davidmc24 Jul 22, 2021
dd422f9
Fix compatibility with Gradle before 6.0
davidmc24 Jul 22, 2021
ff461cd
version: 1.2.1
davidmc24 Jul 23, 2021
5187e40
version: 1.2.2-SNAPSHOT
davidmc24 Jul 23, 2021
c0aad52
Upgrade to Gradle 7.2
davidmc24 Sep 20, 2021
ee31f56
Update CI to indicate that Java 17 has been released, even though it'…
davidmc24 Sep 20, 2021
7d46f11
Upgrade CodeNarc to build cleanly on Java 17
davidmc24 Sep 20, 2021
9519330
Add some scripts to aid troubleshooting
davidmc24 Sep 23, 2021
1c8fcf1
Update readme to use implementation rather than compile configuration
davidmc24 Sep 23, 2021
346c4f6
Add avsc-from-external-jar and avsc-from-subproject examples
davidmc24 Sep 23, 2021
0dca7b3
Make some minor adjustments to GradleAvroProtocolTask due to investig…
davidmc24 Sep 23, 2021
0ba17b6
Add design for potential "additional schema" configurations feature
davidmc24 Sep 23, 2021
2aac740
Add block to example to show custom resource dir usage
davidmc24 Sep 23, 2021
48671b9
Update avsc-from-subproject example to compile schema for schema proj…
davidmc24 Sep 23, 2021
6050048
Fix cachability for cat jar in example
davidmc24 Sep 23, 2021
035a038
GenerateAvroProtocolTask: don't delegate to the system classloader, e…
davidmc24 Sep 23, 2021
e8412e4
Add an example that generated a UUID field
davidmc24 Oct 2, 2021
25f7a0e
Add test project for kotlin
davidmc24 Oct 3, 2021
023d4f9
Update for avro 1.11.0
davidmc24 Nov 9, 2021
7a91926
Drop support for Avro 1.9.0-1.10.2
davidmc24 Nov 9, 2021
7b8d3ee
Update kotlin compatibility testing
davidmc24 Nov 9, 2021
2aef20a
Update Java compatibility testing
davidmc24 Nov 9, 2021
6024396
Update to build with Gradle 7.3; add Java 17 compatibility
davidmc24 Nov 11, 2021
4f3e11c
CI: Attempt to fix kotlin compatibility testing
davidmc24 Nov 11, 2021
bf83393
More kotlin compatibility testing fixes
davidmc24 Nov 11, 2021
0969bea
CI: update to gradle-build-action v2
davidmc24 Nov 11, 2021
6fa428d
version: 1.3.0
davidmc24 Nov 11, 2021
a672c48
version: 1.3.1-SNAPSHOT
davidmc24 Nov 11, 2021
e524dc3
CI: enable automatic staging repository releasing
davidmc24 Dec 9, 2021
603c4a1
Drop kotlin plugin integration
davidmc24 Sep 7, 2022
6feee57
Add note about seeking new maintainer to readme
davidmc24 Sep 7, 2022
b4bd11e
version: 1.4.0
davidmc24 Sep 7, 2022
6784b20
version: 1.4.1-SNAPSHOT
davidmc24 Sep 7, 2022
9dd9790
Add 'additionalVelocityTool' capability. Allows user to provide tools…
Sep 15, 2022
65577c5
Merge pull request #211 from dcracauer/master
davidmc24 Sep 17, 2022
8e2ac1a
Update changelog
davidmc24 Sep 17, 2022
7ad29b1
Update versions of Gradle/Avro/Java
davidmc24 Sep 17, 2022
9e8c9af
version: 1.5.0
davidmc24 Sep 19, 2022
9b81a23
version: 1.5.1-SNAPSHOT
davidmc24 Sep 19, 2022
5a7e497
Support specifying classpath for additional velocity tool classes
crtlib Jan 30, 2023
e4f1ede
Add test for classpath property in GenerateAvroJavaTask
crtlib Jan 31, 2023
e69bbe7
Merge pull request #222 from crtlib/master
davidmc24 Jan 31, 2023
1947802
Minor cleanup
davidmc24 Jan 31, 2023
e778f21
Fix test: escape backslashes in a Windows path
crtlib Feb 1, 2023
2e182a4
Merge pull request #223 from crtlib/master
davidmc24 Feb 2, 2023
b18c0fd
Drop Java compatibility testing for outdated versions
davidmc24 Feb 3, 2023
e8f7ee7
Update for Gradle 7.6 and Java 19
davidmc24 Feb 3, 2023
f1d84f7
Fix up cross-version compatibility for the Gradle 7.6 adjustments
davidmc24 Feb 3, 2023
96cffb3
Update changelog
davidmc24 Feb 6, 2023
05e1a8b
version: 1.6.0
davidmc24 Feb 6, 2023
af1134c
version: 1.6.1-SNAPSHOT
davidmc24 Feb 6, 2023
cc62833
Update changelog
davidmc24 Feb 6, 2023
c165119
Add ability to use conversions and type factories residing outside of…
erdi Apr 4, 2023
5ede65a
Fix compatibility with Gradle < 7.1
erdi Apr 4, 2023
09fafb2
Add documentation for using conversions and type factories located ou…
erdi Apr 4, 2023
b4ac5ba
Add deprecations for methods used to configure conversions and type f…
erdi Apr 4, 2023
457b926
Merge pull request #228 from erdi/conversions-and-type-factories-outs…
davidmc24 Apr 5, 2023
dda836f
Prep for 1.7.0 release
davidmc24 Apr 5, 2023
55608b3
version: 1.7.1-SNAPSHOT
davidmc24 Apr 5, 2023
036875f
Fix vulnerabilities in transitive dependencies
May 3, 2023
92a6fd9
Merge pull request #229 from BlacCello/fix-vuln
davidmc24 May 3, 2023
a81ffc6
version: 1.7.1
davidmc24 May 3, 2023
bf84ab2
version: 1.7.2-SNAPSHOT
davidmc24 May 3, 2023
17210cd
Update github actions that ran in node 12
davidmc24 May 3, 2023
a953c19
Fix Kotlin DSL setup snippet
TopHatCroat May 13, 2023
194db28
Merge pull request #231 from TopHatCroat/master
davidmc24 May 13, 2023
cb17b3d
move everything to lang/java/gradle-plugin
SingingBush Jun 29, 2023
3bc92f3
merge gradle-avro-plugin
SingingBush Jun 29, 2023
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
3 changes: 3 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# These are supported funding model platforms

github: davidmc24
51 changes: 51 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees: ''

---

**Prerequisites**

* [ ] Are you running the latest version of the plugin? (Check [releases](https://github.com/davidmc24/gradle-avro-plugin/releases))
* [ ] Are you running a supported version of Gradle? (Check the [README](https://github.com/davidmc24/gradle-avro-plugin/blob/master/README.md))
* [ ] Are you running a supported version of Apache Avro? (Check the [README](https://github.com/davidmc24/gradle-avro-plugin/blob/master/README.md))
* [ ] Are you running a supported version of Java? (Check the [README](https://github.com/davidmc24/gradle-avro-plugin/blob/master/README.md))
* [ ] Did you check to see if an [issue](https://github.com/davidmc24/gradle-avro-plugin/issues) has already been submitted?
* [ ] Are you reporting to the correct repository? If your schema doesn't work with the Apache Avro CLI tool either, it's not a problem with this plugin. Running your file through the `CLIComparisonTest` in the sample project under the `test-project` directory can help diagnose this.
* [ ] Did you perform a cursory search?

For more information, see the [CONTRIBUTING](https://github.com/davidmc24/gradle-avro-plugin/blob/master/CONTRIBUTING.md) guide.

**Describe the bug**

A clear and concise description of what the bug is.

**To Reproduce**

Steps to reproduce the behavior:

1. Project set up like this...
2. Source files like this...
3. Ran this task...
4. See error

Please provide complete input files that reproduce the problem, not fragments.
When possible, please express this using `test-project`.

**Expected behavior**

A clear and concise description of what you expected to happen.

**Environment (please complete the following information):**
- Gradle Version [e.g. 5.6.1]
- Apache Avro Version [e.g. 1.8.2]
- Gradle-Avro Plugin Version [e.g. 0.17.0]
- Java Version [e.g. 13.0.2]
- OS: [e.g. Mac OS X Mojave, Windows 10, Ubuntu 16.04]

**Additional context**

Add any other context about the problem here.
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
blank_issues_enabled: false
contact_links:
- name: Feature requests and ideas
url: https://github.com/davidmc24/gradle-avro-plugin/discussions/categories/ideas
about: Suggest an idea for this project
- name: Questions
url: https://github.com/davidmc24/gradle-avro-plugin/discussions/categories/q-a
about: Please ask and answer questions here
20 changes: 20 additions & 0 deletions .github/workflows/avro-compatibility.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Avro Compatibility Tests
on: [push, pull_request]
jobs:
test:
name: "Compatibility: avro ${{ matrix.avro }}/gradle ${{ matrix.gradle }}"
runs-on: "ubuntu-latest"
strategy:
matrix:
avro: ["1.11.0", "1.11.1"]
gradle: ["5.1", "7.6"]
java: ["8"]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: "zulu"
java-version: ${{ matrix.java }}
- uses: gradle/gradle-build-action@v2
with:
arguments: testCompatibility -PavroVersion=${{ matrix.avro }} -PgradleVersion=${{ matrix.gradle }}
19 changes: 19 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: CI Build
on: [push, pull_request]
jobs:
build:
name: "Build"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: "zulu"
java-version: 8
- uses: gradle/gradle-build-action@v2
with:
arguments: build
# - uses: codecov/codecov-action@v1
# with:
# file: ./build/reports/jacoco/test/jacocoTestReport.xml
# fail_ci_if_error: true
26 changes: 26 additions & 0 deletions .github/workflows/gradle-compatibility.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Gradle Compatibility Tests
on: [push, pull_request]
jobs:
test:
name: "Compatibility: gradle ${{ matrix.gradle }}/java ${{ matrix.java }}"
runs-on: "ubuntu-latest"
strategy:
matrix:
avro: ["1.11.0"]
gradle: [
"5.1", "5.1.1", "5.2", "5.2.1", "5.3", "5.3.1", "5.4", "5.4.1", "5.5", "5.5.1", "5.6", "5.6.1", "5.6.2", "5.6.3", "5.6.4",
"6.0", "6.0.1", "6.1", "6.1.1", "6.2", "6.2.1", "6.2.2", "6.3", "6.4", "6.4.1", "6.5", "6.5.1", "6.6", "6.6.1", "6.7", "6.7.1",
"6.8", "6.8.1", "6.8.2", "6.8.3", "6.9", "6.9.1", "6.9.2", "6.9.3",
"7.0", "7.0.1", "7.0.2", "7.1", "7.1.1", "7.2", "7.3", "7.3.1", "7.3.2", "7.3.3", "7.4", "7.4.1", "7.4.2", "7.5", "7.5.1", "7.6"
# See here for latest versions: https://services.gradle.org/versions/
]
java: ["8", "11"]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: "zulu"
java-version: ${{ matrix.java }}
- uses: gradle/gradle-build-action@v2
with:
arguments: testCompatibility -PavroVersion=${{ matrix.avro }} -PgradleVersion=${{ matrix.gradle }}
11 changes: 11 additions & 0 deletions .github/workflows/gradle-wrapper-validation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# See https://github.com/marketplace/actions/gradle-wrapper-validation
name: "Validate Gradle Wrapper"
on: [push, pull_request]

jobs:
validation:
name: "Validation"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: gradle/wrapper-validation-action@v1
92 changes: 92 additions & 0 deletions .github/workflows/java-compatibility.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
# See https://docs.gradle.org/current/userguide/compatibility.html
name: Java Compatibility Tests
on: [push, pull_request]
jobs:
java8-12:
name: "Compatibility: java ${{ matrix.java }}/gradle ${{ matrix.gradle }}"
runs-on: "ubuntu-latest"
strategy:
matrix:
avro: ["1.11.0"]
gradle: ["5.1", "7.6"]
java: ["8", "11"]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: "zulu"
java-version: ${{ matrix.java }}
- uses: gradle/gradle-build-action@v2
with:
arguments: testCompatibility -PavroVersion=${{ matrix.avro }} -PgradleVersion=${{ matrix.gradle }}
java17:
name: "Compatibility: java ${{ matrix.java }}/gradle ${{ matrix.gradle }}"
runs-on: "ubuntu-latest"
strategy:
matrix:
avro: ["1.11.0"]
gradle: ["7.3", "7.6"] # See here for latest versions: https://services.gradle.org/versions/
java: ["17"]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: "zulu"
java-version: ${{ matrix.java }}
- uses: gradle/gradle-build-action@v2
with:
arguments: testCompatibility -PavroVersion=${{ matrix.avro }} -PgradleVersion=${{ matrix.gradle }}
java18:
name: "Compatibility: java ${{ matrix.java }}/gradle ${{ matrix.gradle }}"
runs-on: "ubuntu-latest"
strategy:
matrix:
avro: ["1.11.0"]
gradle: ["7.5", "7.6"] # See here for latest versions: https://services.gradle.org/versions/
java: ["18"]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: "zulu"
java-version: ${{ matrix.java }}
- uses: gradle/gradle-build-action@v2
with:
arguments: testCompatibility -PavroVersion=${{ matrix.avro }} -PgradleVersion=${{ matrix.gradle }}
java-19:
name: "Compatibility: java ${{ matrix.java }}/gradle ${{ matrix.gradle }}"
runs-on: "ubuntu-latest"
strategy:
matrix:
avro: ["1.11.0"]
gradle: ["7.6"] # See here for latest versions: https://services.gradle.org/versions/
java: ["19"]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: "zulu"
java-version: ${{ matrix.java }}
- uses: gradle/gradle-build-action@v2
continue-on-error: true
with:
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.11.0"]
gradle: ["7.6"] # See here for latest versions: https://services.gradle.org/versions/
java: ["20-ea"]
fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: "zulu"
java-version: ${{ matrix.java }}
- uses: gradle/gradle-build-action@v2
continue-on-error: true
with:
arguments: testCompatibility -PavroVersion=${{ matrix.avro }} -PgradleVersion=${{ matrix.gradle }}
19 changes: 19 additions & 0 deletions .github/workflows/os-compatibility.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: OS Compatibility
on: [push, pull_request]
jobs:
build:
name: "Compatibility: ${{ matrix.os }}"
runs-on: ${{ matrix.os }}
strategy:
matrix:
java: [8] # Minimum supported major version
os: [ubuntu-latest, windows-latest, macOS-latest] # All supported OS
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: "zulu"
java-version: ${{ matrix.java }}
- uses: gradle/gradle-build-action@v2
with:
arguments: test
20 changes: 20 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Publish package to the Maven Central Repository
on:
release:
types: [created]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: "zulu"
java-version: 8
- uses: gradle/gradle-build-action@v2
with:
arguments: publishToSonatype closeAndReleaseSonatypeStagingRepository -PsonatypeUsername=${{ secrets.SONATYPE_USERNAME }} -PsonatypePassword=${{ secrets.SONATYPE_PASSWORD }}
env:
SIGNING_KEY_ID: ${{ secrets.SIGNING_KEY_ID }}
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
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