Make configuration and compatibility contracts executable
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"schemaVersion": "1.0",
|
||||
"contexts": {
|
||||
"desktop": {
|
||||
"applicationModule": "app",
|
||||
"mavenProfiles": [
|
||||
"designer-preview"
|
||||
],
|
||||
"launchMode": "classpath",
|
||||
"buildRuntime": "build-java",
|
||||
"targetRuntime": "application-java",
|
||||
"buildJava": 25,
|
||||
"targetJava": 21,
|
||||
"requiredCapabilities": [
|
||||
"discover-v1",
|
||||
"render-rgba-v1"
|
||||
],
|
||||
"preview": {
|
||||
"sourceSet": "module",
|
||||
"module": "preview",
|
||||
"provider": "example.preview.PersonExamples",
|
||||
"defaultExample": "person.standard"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"schemaVersion": "1.0",
|
||||
"contexts": {
|
||||
"desktop": {
|
||||
"applicationModule": "app",
|
||||
"mavenProfiles": [
|
||||
"designer-preview"
|
||||
],
|
||||
"launchMode": "module-path",
|
||||
"buildRuntime": "build-java",
|
||||
"targetRuntime": "application-java",
|
||||
"buildJava": 25,
|
||||
"targetJava": 21,
|
||||
"requiredCapabilities": [
|
||||
"discover-v1",
|
||||
"render-rgba-v1"
|
||||
],
|
||||
"preview": {
|
||||
"sourceSet": "test",
|
||||
"provider": "example.preview.PersonExamples"
|
||||
},
|
||||
"modulePath": {
|
||||
"entryModule": "example.app",
|
||||
"addReads": [
|
||||
"example.app=example.preview"
|
||||
],
|
||||
"addOpens": [
|
||||
"example.app/example.model=ALL-UNNAMED"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user