Skip to content
This repository was archived by the owner on Dec 28, 2023. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: davidmc24/gradle-avro-plugin
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.3.0
Choose a base ref
...
head repository: davidmc24/gradle-avro-plugin
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1.4.0
Choose a head ref
  • 5 commits
  • 6 files changed
  • 1 contributor

Commits on Nov 11, 2021

  1. version: 1.3.1-SNAPSHOT

    davidmc24 committed Nov 11, 2021
    Copy the full SHA
    a672c48 View commit details

Commits on Dec 9, 2021

  1. Copy the full SHA
    e524dc3 View commit details

Commits on Sep 7, 2022

  1. Copy the full SHA
    603c4a1 View commit details
  2. Copy the full SHA
    6feee57 View commit details
  3. version: 1.4.0

    davidmc24 committed Sep 7, 2022
    Copy the full SHA
    b4bd11e View commit details
132 changes: 0 additions & 132 deletions .github/workflows/kotlin-plugin-compatibility.yml

This file was deleted.

3 changes: 1 addition & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -13,8 +13,7 @@ jobs:
java-version: 8
- uses: gradle/gradle-build-action@v2
with:
# For now, release manually; closeAndReleaseSonatypeStagingRepository when I have confidence
arguments: publishToSonatype closeSonatypeStagingRepository -PsonatypeUsername=${{ secrets.SONATYPE_USERNAME }} -PsonatypePassword=${{ secrets.SONATYPE_PASSWORD }}
arguments: publishToSonatype closeAndReleaseSonatypeStagingRepository -PsonatypeUsername=${{ secrets.SONATYPE_USERNAME }} -PsonatypePassword=${{ secrets.SONATYPE_PASSWORD }}
env:
SIGNING_KEY_ID: ${{ secrets.SIGNING_KEY_ID }}
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
3 changes: 3 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -2,6 +2,9 @@

## Unreleased

## 1.4.0
* Drop support for Kotlin plugin integration

## 1.3.0
* Built using Avro 1.11.0
* Dropped support for Avro 1.9.0-1.10.2 due to use of new SpecificRecordBuilderBase constructor in Avro 1.11.0
14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Seeking New Maintainer

For more details, see [the discussion](https://github.com/davidmc24/gradle-avro-plugin/discussions/208).

If no new maintainer is found, this project will be archived on October 22, 2023 (the 10 year anniversary of this project's first public commit).

# Overview

This is a [Gradle](http://www.gradle.org/) plugin to allow easily performing Java code generation for [Apache Avro](http://avro.apache.org/). It supports JSON schema declaration files, JSON protocol declaration files, and Avro IDL files.
@@ -22,8 +28,12 @@ This is a [Gradle](http://www.gradle.org/) plugin to allow easily performing Jav
* Currently tested against Avro 1.11.0
* Avro 1.9.0-1.10.2 were last supported in version 1.2.1
* Support for Kotlin
* Currently tested against Kotlin plugin versions 1.3.20-1.3.72 and 1.4.0-1.4.32 and 1.5.0-1.5.31 using the latest compatible version of Gradle
* Currently tested against Kotlin plugin versions 1.2.20-1.2.71 and 1.3.0-1.3.11 using Gradle 5.1
* Dropped integration with the Kotlin plugin in plugin version 1.4.0, as Kotlin 1.7.x would require compile-time dependency on a specific Kotlin version
* Wiring between the tasks added by the plugin and the Kotlin compilation tasks can either be added by your build logic, or a derived plugin
* Plugin version 1.3.0 was the last version with tested support for Kotlin
* It is believed to work with Kotlin 1.6.x as well
* It was tested against Kotlin plugin versions 1.3.20-1.3.72 and 1.4.0-1.4.32 and 1.5.0-1.5.31 using the latest compatible version of Gradle
* It was tested against Kotlin plugin versions 1.2.20-1.2.71 and 1.3.0-1.3.11 using Gradle 5.1
* Kotlin plugin versions 1.4.20-1.4.32 require special settings to work with Java 17+; see [KT-43704](https://youtrack.jetbrains.com/issue/KT-43704#focus=Comments-27-4639603.0-0)
* Kotlin plugin version 1.3.30 is not compatible with Gradle 7.0+
* Kotlin plugin versions starting with 1.4.0 require Gradle 5.3+
26 changes: 1 addition & 25 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@ plugins {
// support.

group = "com.github.davidmc24.gradle.plugin"
version = "1.3.0"
version = "1.4.0"

def isCI = System.getenv("CI") == "true"

@@ -205,14 +205,11 @@ if (JavaVersion.current().java10Compatible) {
sourceCompatibility = 8
}

def latestKotlinVersion = "1.5.31"

test {
useJUnitPlatform()
systemProperties = [
avroVersion: compileAvroVersion,
gradleVersion: gradle.gradleVersion,
kotlinPluginVersion: latestKotlinVersion,
]
// finalizedBy jacocoTestReport // report is always generated after tests run
}
@@ -225,33 +222,12 @@ tasks.create(name: "testCompatibility", type: Test) {
avroVersion: findProperty("avroVersion"),
gradleVersion: findProperty("gradleVersion"),
]
filter {
excludeTestsMatching "*KotlinPlugin*"
}
reports {
html.destination = file("$buildDir/reports/tests/compatibility")
junitXml.destination = file("$buildDir/reports/tests/compatibility")
}
}

tasks.create(name: "testKotlinPluginCompatibility", type: Test) {
description = "Test cross-compatibility of the plugin with the Kotlin plugin"
group = "Verification"
useJUnitPlatform()
systemProperties = [
avroVersion: findProperty("avroVersion"),
gradleVersion: findProperty("gradleVersion"),
kotlinPluginVersion: findProperty("kotlinPluginVersion"),
]
filter {
includeTestsMatching "*KotlinPlugin*"
}
reports {
html.destination = file("$buildDir/reports/tests/kotlinPluginCompatibility")
junitXml.destination = file("$buildDir/reports/tests/kotlinPluginCompatibility")
}
}

//jacoco {
// // 0.8.7+ needed for Java 15 support
// // See https://www.jacoco.org/jacoco/trunk/doc/changes.html

This file was deleted.