corda / corda-gradle-plugins

Gradle plugins used by Corda and Cordapps
Other
24 stars 36 forks source link

CORE-2591: CPK 'migration' package should be private by default. #469

Closed chrisr3 closed 3 years ago

chrisr3 commented 3 years ago

We expect Liquibase migration scripts to be added to a CPK "main" jar's migration package. However, we also cannot allow two CPKs to export the same package into the OSGi framework. Together, these two constraints require that migration.* is always Private-Package, regardless of the jar task's

osgi {
    autoExport = true
}

setting.