| plugins { |
| id 'com.gradle.develocity' version '4.0' |
| id 'com.gradle.common-custom-user-data-gradle-plugin' version '2.2.1' |
| } |
| |
| def isCI = System.getenv().containsKey('CI') |
| def isLocal = !isCI |
| |
| develocity { |
| server = 'https://ge.grails.org' |
| buildScan { |
| tag('grails') |
| tag('grails-data-mapping') |
| publishing.onlyIf { it.authenticated } |
| uploadInBackground = isLocal |
| } |
| } |
| |
| buildCache { |
| local { enabled = isLocal } |
| remote(develocity.buildCache) { |
| push = isCI |
| enabled = true |
| } |
| } |
| |
| rootProject.name = 'grails-data-mapping' |
| |
| include( |
| 'grails-datastore-core', |
| 'grails-datastore-web', |
| |
| // Core GORM Implementation projects |
| 'grails-datamapping-core', |
| 'grails-datastore-async', |
| 'grails-datamapping-async', |
| 'grails-datamapping-validation', |
| 'grails-datamapping-support', |
| // the tck is split into domains -> base -> tck so that the base class can be swapped out or reused |
| 'grails-datamapping-tck-tests', |
| 'grails-datamapping-tck-base', |
| 'grails-datamapping-tck-domains', |
| 'grails-datamapping-core-test', |
| |
| // RX projects |
| // until this can be finished ported to grails 7, we are disabling |
| //'grails-datamapping-rx', |
| |
| // Testing Support |
| 'grails-testing-support-datamapping', |
| |
| // Test Report |
| 'test-report' |
| ) |
| |
| // Documentation |
| include 'docs-guide-developer' |
| project(':docs-guide-developer').projectDir = file('docs/guide-developer') |
| |
| // until this can be finished ported to grails 7, we are disabling |
| //include 'docs-guide-rx' |
| //project(':docs-guide-rx').projectDir = file('docs/guide-rx') |
| |
| include 'docs-guide-whats-new' |
| project(':docs-guide-whats-new').projectDir = file('docs/guide-whats-new') |
| |
| // Simple implementation (for simple gorm usage, unit tests, and base implementation testing) |
| include 'grails-data-simple' |
| findProject(':grails-data-simple').projectDir = file('grails-data-simple') |
| |
| // Hibernate 5 |
| // Core |
| include 'hibernate5-core' |
| findProject(':hibernate5-core').projectDir = file('grails-data-hibernate5/core') |
| |
| // Documentation |
| include 'hibernate5-docs' |
| findProject(':hibernate5-docs').projectDir = new File(settingsDir, 'grails-data-hibernate5/docs') |
| |
| // Plugins |
| include 'hibernate5-grails-plugin' |
| findProject(':hibernate5-grails-plugin').projectDir = new File(settingsDir, 'grails-data-hibernate5/grails-plugin') |
| |
| include 'hibernate5-database-migration' |
| findProject(':hibernate5-database-migration').projectDir = new File(settingsDir, 'grails-data-hibernate5/database-migration') |
| |
| include 'hibernate5-boot-plugin' |
| findProject(':hibernate5-boot-plugin').projectDir = new File(settingsDir, 'grails-data-hibernate5/boot-plugin') |
| |
| // Hibernate5 examples |
| include 'hibernate5-examples-grails-hibernate' |
| project(':hibernate5-examples-grails-hibernate').projectDir = new File(settingsDir, 'grails-data-hibernate5/examples/grails-hibernate') |
| |
| include 'hibernate5-examples-grails-multiple-datasources' |
| project(':hibernate5-examples-grails-multiple-datasources').projectDir = new File(settingsDir, 'grails-data-hibernate5/examples/grails-multiple-datasources') |
| |
| include 'hibernate5-examples-grails-database-per-tenant' |
| project(':hibernate5-examples-grails-database-per-tenant').projectDir = new File(settingsDir, 'grails-data-hibernate5/examples/grails-database-per-tenant') |
| |
| include 'hibernate5-examples-grails-schema-per-tenant' |
| project(':hibernate5-examples-grails-schema-per-tenant').projectDir = new File(settingsDir, 'grails-data-hibernate5/examples/grails-schema-per-tenant') |
| |
| include 'hibernate5-examples-grails-partitioned-multi-tenancy' |
| project(':hibernate5-examples-grails-partitioned-multi-tenancy').projectDir = new File(settingsDir, 'grails-data-hibernate5/examples/grails-partitioned-multi-tenancy') |
| |
| include 'hibernate5-examples-standalone-hibernate' |
| project(':hibernate5-examples-standalone-hibernate').projectDir = new File(settingsDir, 'grails-data-hibernate5/examples/standalone-hibernate') |
| |
| include 'hibernate5-examples-spring-boot-hibernate' |
| project(':hibernate5-examples-spring-boot-hibernate').projectDir = new File(settingsDir, 'grails-data-hibernate5/examples/spring-boot-hibernate') |
| |
| include 'hibernate5-examples-grails-data-service' |
| project(':hibernate5-examples-grails-data-service').projectDir = new File(settingsDir, 'grails-data-hibernate5/examples/grails-data-service') |
| |
| include 'hibernate5-examples-grails-hibernate-groovy-proxy' |
| project(':hibernate5-examples-grails-hibernate-groovy-proxy').projectDir = new File(settingsDir, 'grails-data-hibernate5/examples/grails-hibernate-groovy-proxy') |
| |
| include 'hibernate5-examples-issue450' |
| project(':hibernate5-examples-issue450').projectDir = new File(settingsDir, 'grails-data-hibernate5/examples/issue450') |
| |
| // core |
| include 'mongodb-bson' |
| project(':mongodb-bson').projectDir = new File(settingsDir, 'grails-data-mongodb/bson') |
| |
| include 'mongodb-core' |
| project(':mongodb-core').projectDir = new File(settingsDir, 'grails-data-mongodb/core') |
| |
| include 'mongodb-ext' |
| project(':mongodb-ext').projectDir = new File(settingsDir, 'grails-data-mongodb/ext') |
| |
| // documentation |
| include 'mongodb-docs' |
| project(':mongodb-docs').projectDir = new File(settingsDir, 'grails-data-mongodb/docs') |
| |
| // plugins |
| include 'mongodb-boot-plugin' |
| project(':mongodb-boot-plugin').projectDir = new File(settingsDir, 'grails-data-mongodb/boot-plugin') |
| |
| include 'mongodb-grails-plugin' |
| project(':mongodb-grails-plugin').projectDir = new File(settingsDir, 'grails-data-mongodb/grails-plugin') |
| |
| include 'mongodb-gson-templates' |
| project(':mongodb-gson-templates').projectDir = new File(settingsDir, 'grails-data-mongodb/gson-templates') |
| |
| // mongodb examples |
| include 'mongodb-examples-base' |
| project(':mongodb-examples-base').projectDir = new File(settingsDir, 'grails-data-mongodb/examples/base') |
| |
| include 'mongodb-examples-database-per-tenant' |
| project(':mongodb-examples-database-per-tenant').projectDir = new File(settingsDir, 'grails-data-mongodb/examples/database-per-tenant') |
| |
| include 'mongodb-examples-hibernate5' |
| project(':mongodb-examples-hibernate5').projectDir = new File(settingsDir, 'grails-data-mongodb/examples/hibernate5') |
| |
| include 'mongodb-examples-springboot' |
| project(':mongodb-examples-springboot').projectDir = new File(settingsDir, 'grails-data-mongodb/examples/springboot') |
| |
| include 'mongodb-examples-test-data-service' |
| project(':mongodb-examples-test-data-service').projectDir = new File(settingsDir, 'grails-data-mongodb/examples/test-data-service') |
| |
| include 'mongodb-examples-gson-templates' |
| project(':mongodb-examples-gson-templates').projectDir = new File(settingsDir, 'grails-data-mongodb/examples/gson-templates') |