Search Gradle plugins

A modern Gradle plugin to manage, generate, and intelligently merge persistence.xml descriptors for Jakarta Persistence (JPA). Automatically updates external jar-file declarations based on project dependencies, eliminating hardcoded artifact versions.

https://github.com/jpersist/persistence

Sources: https://github.com/jpersist/persistence.git

Version 1.3.0 (latest)

Created 29 September 2026.

A modern Gradle plugin to manage, generate, and intelligently merge persistence.xml descriptors for Jakarta Persistence (JPA). Automatically updates external jar-file declarations based on project dependencies, eliminating hardcoded artifact versions.

Gradle features compatibility:
Configuration cache ✓
(Incubating) Isolated Projects ✓

Add this plugin to your build using the plugins DSL:

plugins {
  id("io.github.jpersist.jpa") version "1.3.0"
}

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("io.github.jpersist.jpa:io.github.jpersist.jpa.gradle.plugin:1.3.0")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("io.github.jpersist.jpa")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("io.github.jpersist.jpa:io.github.jpersist.jpa.gradle.plugin:1.3.0")
      }
    }
    
    apply(plugin = "io.github.jpersist.jpa")
  • Applying plugins to all subprojects .