* Added templating to the vendordep json. * Fixed driver reference * Moved copy to an artifact. * Moved vendordep generation to `$buildDir/repos/` and added zip task. Maven publication commented out. * Fixed zip function, uncommented maven publishing for vendordep. * Update publish.gradle * Change basename of vendordepJson Added deps fix. --------- Co-authored-by: thenetworkgrinch <thenetworkgrinch@users.noreply.github.com>
75 lines
2.2 KiB
JSON
75 lines
2.2 KiB
JSON
{
|
|
"fileName": "ExampleVendorJson.json",
|
|
"name": "ExampleVendorDep",
|
|
"version": "${version}",
|
|
"frcYear": "2025",
|
|
"uuid": "Generate A Unique GUID https://guidgenerator.com/online-guid-generator.aspx and insert it here", This line is to purposely make this fail to parse
|
|
"mavenUrls": [
|
|
"ThisNeedsToBeTheRootMavenUrl"
|
|
],
|
|
"jsonUrl": "InsertSomeUrlHere",
|
|
"javaDependencies": [
|
|
{
|
|
"groupId": "${groupId}",
|
|
"artifactId": "${artifactId}-java",
|
|
"version": "${version}"
|
|
}
|
|
],
|
|
"jniDependencies": [
|
|
{
|
|
"groupId": "${groupId}",
|
|
"artifactId": "${artifactId}-driver",
|
|
"version": "${version}",
|
|
"skipInvalidPlatforms": true,
|
|
"isJar": false,
|
|
"validPlatforms": [
|
|
"windowsx86-64",
|
|
"windowsx86",
|
|
"linuxarm64",
|
|
"linuxx86-64",
|
|
"linuxathena",
|
|
"linuxarm32",
|
|
"osxuniversal"
|
|
]
|
|
}
|
|
],
|
|
"cppDependencies": [
|
|
{
|
|
"groupId": "${groupId}",
|
|
"artifactId": "${artifactId}-cpp",
|
|
"version": "${version}",
|
|
"libName": "Vendor",
|
|
"headerClassifier": "headers",
|
|
"sharedLibrary": false,
|
|
"skipInvalidPlatforms": true,
|
|
"binaryPlatforms": [
|
|
"windowsx86-64",
|
|
"windowsx86",
|
|
"linuxarm64",
|
|
"linuxx86-64",
|
|
"linuxathena",
|
|
"linuxarm32",
|
|
"osxuniversal"
|
|
]
|
|
},
|
|
{
|
|
"groupId": "${groupId}",
|
|
"artifactId": "${artifactId}-driver",
|
|
"version": "${version}",
|
|
"libName": "VendorDriver",
|
|
"headerClassifier": "headers",
|
|
"sharedLibrary": false,
|
|
"skipInvalidPlatforms": true,
|
|
"binaryPlatforms": [
|
|
"windowsx86-64",
|
|
"windowsx86",
|
|
"linuxarm64",
|
|
"linuxx86-64",
|
|
"linuxathena",
|
|
"linuxarm32",
|
|
"osxuniversal"
|
|
]
|
|
}
|
|
]
|
|
}
|