Module Descriptor
Configure your BoxLang module with box.json, ModuleConfig.bx, and Java IModuleConfig descriptors
box.json — Module Metadata
{
"name": "My Amazing Module",
"version": "1.0.0",
"author": "Your Name",
"slug": "bx-my-module",
"shortDescription": "Does amazing things",
"type": "boxlang-modules",
"keywords": ["boxlang", "module"],
"boxlang": {
"minimumVersion": "1.14.0",
"moduleName": "myModule"
},
"dependencies": {
"bx-plus": "*"
},
"devDependencies": {
"commandbox-boxlang": "*",
"testbox": "*"
},
"ignore": [
"**/.*",
"build.gradle",
"/src/**",
"gradle/**"
]
}Key Fields
Field
Required
Description
ModuleConfig.bx — BoxLang Descriptor
Anatomy
Module Properties
Property
Type
Required
Description
Lifecycle Methods
Method
When Called
Purpose
Java IModuleConfig
@BoxModule Annotation Fields
Field
Type
Description
Descriptor Priority
Next Steps
Last updated
Was this helpful?
