From c8967a3ab5e64a37753d4867026e9c0db9ff78a5 Mon Sep 17 00:00:00 2001 From: Nick Gumbs Date: Wed, 6 Nov 2024 11:37:03 -0500 Subject: [PATCH] Update Gradle Setting for ObjectType Export --- settings.gradle | 35 ++++++++++++++++++++++++++--------- web/build.gradle | 7 +++++++ 2 files changed, 33 insertions(+), 9 deletions(-) diff --git a/settings.gradle b/settings.gradle index 427c0f9f..0c020b03 100644 --- a/settings.gradle +++ b/settings.gradle @@ -13,22 +13,39 @@ pluginManagement { } plugins { - id "com.gradle.enterprise" version "3.15.1" - id 'com.brightspot.gradle' version '1.1.1' + id 'com.gradle.enterprise' version '3.15.1' + id 'com.brightspot.gradle' version '3.1.0-rc3' } rootProject.name = 'brightspot-training' +dependencyResolutionManagement { + versionCatalogs { + brightspotLibs { + library('brightspot', 'com.psddev:brightspot-bom:4.7.11.1') + library('brightspotDependencies', 'com.psddev:brightspot-dependencies:4.7.11.1') + + library('brightspotSharedTests' , 'com.brightspot.shared-tests:bom:0.7.1') + + library('brightspotGo', 'com.brightspot.go:bom:1.5.3') + library('brightspotGoDependencies', 'com.brightspot.go:go-dependencies:1.5.3') + + library('componentLib', 'com.psddev.component-lib:bom:4.5.24') + library('componentLibDependencies', 'com.psddev.component-lib:cl-dependencies:4.5.24') + } + } +} + brightspot { projectGroup = 'com.brightspot-training' - versions { - brightspot = '4.7.11.1' - brightspotGo = '1.5.3' - sharedTests = '0.7.1' - componentLib = '4.5.24' - java = 11 - } + // versions { + // brightspot = '4.7.11.1' + // brightspotGo = '1.5.3' + // sharedTests = '0.7.1' + // componentLib = '4.5.24' + // java = 11 + // } dependencyConstraints = [ // dependency conflicts across Gradle configurations diff --git a/web/build.gradle b/web/build.gradle index 553fad2a..6bbfb880 100644 --- a/web/build.gradle +++ b/web/build.gradle @@ -17,4 +17,11 @@ dependencies { sharedTest 'com.brightspot.shared-tests:pack-standard-backend-integration-tests' testImplementation('com.brightspot.go:lib-util-auto-dependency-test') + + /** + Export Object Type Data (e2e) + Run via: ./gradlew web:exportObjectTypes + Object type data will be in /web/build/objectTypes.json + */ + objectTypeExport 'com.brightspot.gradle:object-type-export:3.1.0-rc3' }