Skip to content

Commit

Permalink
Update Gradle Setting for ObjectType Export
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-gumbs committed Nov 6, 2024
1 parent 7672873 commit c8967a3
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 9 deletions.
35 changes: 26 additions & 9 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 7 additions & 0 deletions web/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}

0 comments on commit c8967a3

Please sign in to comment.