Skip to content

Releases: revolut-engineering/jooq-plugin

Build cache support

18 Dec 10:08
Compare
Choose a tag to compare
  • makes the plugin task cacheable, so it can be used with Gradle's build cache.
  • fix serialization of generatorCustomizer that was failing on occasions and required .gradle folder removal

Build cache support

18 Dec 10:05
Compare
Choose a tag to compare
  • makes the plugin task cacheable, so it can be used with Gradle's build cache.
  • fix serialization of generatorCustomizer that was failing on occasions and required .gradle folder removal

Fixes for parallel builds and Docker credential helpers support

12 Nov 19:04
Compare
Choose a tag to compare

This release contains the following changes:

  • fixed for parallel execution in multi-module projects. Previous releases would fail when the plugin was applied in multiple modules which were built in parallel due to SchemaVersionProvider reusing the schema name set by other executions
  • fixed generation failure when flyway table name was changed using flyway.table property. The plugin now will be able to detect the changed name and use it in SchemaVersionProvider
  • support for Docker credential helpers. The plugin will now be able to detect the appropriate authentication method for a particular repository, so pulling images from eg. gcloud Container Registry shouldn't be a problem anymore

Fixes for parallel builds and Docker credential helpers support

12 Nov 19:03
Compare
Choose a tag to compare

This release contains the following changes:

  • fixed for parallel execution in multi-module projects. Previous releases would fail when the plugin was applied in multiple modules which were built in parallel due to SchemaVersionProvider reusing the schema name set by other executions
  • fixed generation failure when flyway table name was changed using flyway.table property. The plugin now will be able to detect the changed name and use it in SchemaVersionProvider
  • support for Docker credential helpers. The plugin will now be able to detect the appropriate authentication method for a particular repository, so pulling images from eg. gcloud Container Registry shouldn't be a problem anymore

Better support for non Java projects

29 Oct 08:49
Compare
Choose a tag to compare

Previous versions of the plugin were configured for Java project, because of that projects not using Java required additional configuration for the build to pick up generated jOOQ classes. This release fixes this problem and no additional configuration should be required.

This release also brings small improvement for multi-module projects. Previously the docker container name was static and thus in the multi-module project with parallel builds there could be a clash of the names which will lead to generation failure if a user didn't specify a unique container name per module. This release adds a project name to the container name, so as long as your module names are unique you no longer have to worry about the container names.

Better support for non Java projects

29 Oct 08:43
Compare
Choose a tag to compare

Previous versions of the plugin were configured for Java project, because of that projects not using Java required additional configuration for the build to pick up generated jOOQ classes. This release fixes this problem and no additional configuration should be required.

This release also brings small improvement for multi-module projects. Previously the docker container name was static and thus in the multi-module project with parallel builds there could be a clash of the names which will lead to generation failure if a user didn't specify a unique container name per module. This release adds a project name to the container name, so as long as your module names are unique you no longer have to worry about the container names.

Remote Docker support

28 Jul 16:41
Compare
Choose a tag to compare

Plugin can now connect to remote docker daemon 🐳

See the Remote docker setup section of the readme for more details

Remote Docker support

28 Jul 16:32
Compare
Choose a tag to compare

Plugin can now connect to remote docker daemon 🐳

See the Remote docker setup section of the readme for more details

Groovy DSL support for generator customizer

12 Jul 14:45
Compare
Choose a tag to compare
  1. generatorCustomizer task property is now Groovy friendly!
    What previously had to be written as:
    tasks {
        generateJooqClasses(new MyCustomizer())
    }
    
    class MyCustomizer implements GeneratorCustomizer {
    
        @Override
        void execute(final Generator generator) {
            generator.database.withForcedTypes(...)
        }
    }
    now can be done in the closure directly in the task:
    tasks {
        generateJooqClasses {
            it.database.withForcedTypes(...)
        }
    }
  2. New excludeFlywayTable task property to exclude the flyway_schema_history from generated classes:
    tasks {
        generateJooqClasses {
            excludeFlywayTable = true
        }
    }

Groovy DSL support for generator customizer

12 Jul 14:44
Compare
Choose a tag to compare
  1. generatorCustomizer task property is now Groovy friendly!
    What previously had to be written as:
    tasks {
        generateJooqClasses(new MyCustomizer())
    }
    
    class MyCustomizer implements GeneratorCustomizer {
    
        @Override
        void execute(final Generator generator) {
            generator.database.withForcedTypes(...)
        }
    }
    now can be done in the closure directly in the task:
    tasks {
        generateJooqClasses {
            it.database.withForcedTypes(...)
        }
    }
  2. New excludeFlywayTable task property to exclude the flyway_schema_history from generated classes:
    tasks {
        generateJooqClasses {
            excludeFlywayTable = true
        }
    }