mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
HAND FIXES: Update maven info
This commit is contained in:
committed by
Peter Johnson
parent
3f740894c9
commit
013a238994
@@ -133,7 +133,7 @@ wpilib_jni_java_library(
|
|||||||
srcs = glob(["src/main/java/**/*.java"]),
|
srcs = glob(["src/main/java/**/*.java"]),
|
||||||
extra_source_pkgs = ["resources"],
|
extra_source_pkgs = ["resources"],
|
||||||
maven_artifact_name = "apriltag-java",
|
maven_artifact_name = "apriltag-java",
|
||||||
maven_group_id = "edu.wpi.first.apriltag",
|
maven_group_id = "org.wpilib.apriltag",
|
||||||
native_libs = [":apriltagjni"],
|
native_libs = [":apriltagjni"],
|
||||||
resource_strip_prefix = "apriltag/src/main/native/resources",
|
resource_strip_prefix = "apriltag/src/main/native/resources",
|
||||||
resources = glob(["src/main/native/resources/**"]),
|
resources = glob(["src/main/native/resources/**"]),
|
||||||
@@ -210,5 +210,5 @@ py_binary(
|
|||||||
package_minimal_jni_project(
|
package_minimal_jni_project(
|
||||||
name = "apriltag",
|
name = "apriltag",
|
||||||
maven_artifact_name = "apriltag-cpp",
|
maven_artifact_name = "apriltag-cpp",
|
||||||
maven_group_id = "edu.wpi.first.apriltag",
|
maven_group_id = "org.wpilib.apriltag",
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ wpilib_java_library(
|
|||||||
name = "cameraserver-java",
|
name = "cameraserver-java",
|
||||||
srcs = glob(["src/main/java/**/*.java"]),
|
srcs = glob(["src/main/java/**/*.java"]),
|
||||||
maven_artifact_name = "cameraserver-java",
|
maven_artifact_name = "cameraserver-java",
|
||||||
maven_group_id = "edu.wpi.first.cameraserver",
|
maven_group_id = "org.wpilib.cameraserver",
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
deps = [
|
deps = [
|
||||||
"//cscore:cscore-java",
|
"//cscore:cscore-java",
|
||||||
@@ -96,5 +96,5 @@ java_binary(
|
|||||||
package_minimal_cc_project(
|
package_minimal_cc_project(
|
||||||
name = "cameraserver",
|
name = "cameraserver",
|
||||||
maven_artifact_name = "cameraserver-cpp",
|
maven_artifact_name = "cameraserver-cpp",
|
||||||
maven_group_id = "edu.wpi.first.cameraserver",
|
maven_group_id = "org.wpilib.cameraserver",
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
ext {
|
ext {
|
||||||
nativeName = 'cameraserver'
|
nativeName = 'cameraserver'
|
||||||
devMain = 'edu.wpi.first.cameraserver.DevMain'
|
devMain = 'org.wpilib.cameraserver.DevMain'
|
||||||
}
|
}
|
||||||
|
|
||||||
evaluationDependsOn(':ntcore')
|
evaluationDependsOn(':ntcore')
|
||||||
|
|||||||
@@ -106,7 +106,7 @@ wpilib_java_library(
|
|||||||
srcs = glob(["src/main/java/**/*.java"]) + [":generated_java"],
|
srcs = glob(["src/main/java/**/*.java"]) + [":generated_java"],
|
||||||
exported_plugins = ["//javacPlugin:plugin"],
|
exported_plugins = ["//javacPlugin:plugin"],
|
||||||
maven_artifact_name = "commandsv2-java",
|
maven_artifact_name = "commandsv2-java",
|
||||||
maven_group_id = "edu.wpi.first.commandsv2",
|
maven_group_id = "org.wpilib.commandsv2",
|
||||||
plugins = ["//javacPlugin:plugin"],
|
plugins = ["//javacPlugin:plugin"],
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
deps = [
|
deps = [
|
||||||
@@ -181,5 +181,5 @@ java_binary(
|
|||||||
package_minimal_cc_project(
|
package_minimal_cc_project(
|
||||||
name = "commandsv2",
|
name = "commandsv2",
|
||||||
maven_artifact_name = "commandsv2-cpp",
|
maven_artifact_name = "commandsv2-cpp",
|
||||||
maven_group_id = "edu.wpi.first.commandsv2",
|
maven_group_id = "org.wpilib.commandsv2",
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
ext {
|
ext {
|
||||||
nativeName = 'commandsv2'
|
nativeName = 'commandsv2'
|
||||||
devMain = 'edu.wpi.first.wpilibj2.commands.DevMain'
|
devMain = 'org.wpilib.commandsv2.DevMain'
|
||||||
}
|
}
|
||||||
|
|
||||||
evaluationDependsOn(':ntcore')
|
evaluationDependsOn(':ntcore')
|
||||||
|
|||||||
@@ -210,7 +210,7 @@ wpilib_jni_java_library(
|
|||||||
name = "cscore-java",
|
name = "cscore-java",
|
||||||
srcs = glob(["src/main/java/**/*.java"]),
|
srcs = glob(["src/main/java/**/*.java"]),
|
||||||
maven_artifact_name = "cscore-java",
|
maven_artifact_name = "cscore-java",
|
||||||
maven_group_id = "edu.wpi.first.cscore",
|
maven_group_id = "org.wpilib.cscore",
|
||||||
native_libs = [":cscorejni"],
|
native_libs = [":cscorejni"],
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
deps = [
|
deps = [
|
||||||
@@ -281,7 +281,7 @@ java_binary(
|
|||||||
package_minimal_jni_project(
|
package_minimal_jni_project(
|
||||||
name = "cscore",
|
name = "cscore",
|
||||||
maven_artifact_name = "cscore-cpp",
|
maven_artifact_name = "cscore-cpp",
|
||||||
maven_group_id = "edu.wpi.first.cscore",
|
maven_group_id = "org.wpilib.cscore",
|
||||||
)
|
)
|
||||||
|
|
||||||
alias(
|
alias(
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import org.gradle.internal.os.OperatingSystem
|
|||||||
|
|
||||||
ext {
|
ext {
|
||||||
nativeName = 'cscore'
|
nativeName = 'cscore'
|
||||||
devMain = 'edu.wpi.first.cscore.DevMain'
|
devMain = 'org.wpilib.cscore.DevMain'
|
||||||
}
|
}
|
||||||
|
|
||||||
// Removed because having the objective-cpp plugin added breaks
|
// Removed because having the objective-cpp plugin added breaks
|
||||||
|
|||||||
@@ -69,7 +69,7 @@ wpilib_jni_java_library(
|
|||||||
name = "datalog-java",
|
name = "datalog-java",
|
||||||
srcs = glob(["src/main/java/**/*.java"]),
|
srcs = glob(["src/main/java/**/*.java"]),
|
||||||
maven_artifact_name = "datalog-java",
|
maven_artifact_name = "datalog-java",
|
||||||
maven_group_id = "edu.wpi.first.datalog",
|
maven_group_id = "org.wpilib.datalog",
|
||||||
native_libs = [":datalogjni"],
|
native_libs = [":datalogjni"],
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
deps = [
|
deps = [
|
||||||
@@ -144,5 +144,5 @@ wpilib_java_junit5_test(
|
|||||||
package_minimal_jni_project(
|
package_minimal_jni_project(
|
||||||
name = "datalog",
|
name = "datalog",
|
||||||
maven_artifact_name = "datalog-cpp",
|
maven_artifact_name = "datalog-cpp",
|
||||||
maven_group_id = "edu.wpi.first.datalog",
|
maven_group_id = "org.wpilib.datalog",
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -2,10 +2,10 @@ ext {
|
|||||||
useJava = true
|
useJava = true
|
||||||
useCpp = true
|
useCpp = true
|
||||||
baseId = 'datalog'
|
baseId = 'datalog'
|
||||||
groupId = 'edu.wpi.first.datalog'
|
groupId = 'org.wpilib.datalog'
|
||||||
|
|
||||||
nativeName = 'datalog'
|
nativeName = 'datalog'
|
||||||
devMain = 'edu.wpi.first.datalog.DevMain'
|
devMain = 'org.wpilib.datalog.DevMain'
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "${rootDir}/shared/jni/setupBuild.gradle"
|
apply from: "${rootDir}/shared/jni/setupBuild.gradle"
|
||||||
|
|||||||
@@ -96,7 +96,7 @@ pkg_zip(
|
|||||||
|
|
||||||
maven_export(
|
maven_export(
|
||||||
name = "wpilibc_publish",
|
name = "wpilibc_publish",
|
||||||
maven_coordinates = "edu.wpi.first.wpilibc:documentation:$(WPILIB_VERSION)",
|
maven_coordinates = "org.wpilib.wpilibc:documentation:$(WPILIB_VERSION)",
|
||||||
target = ":doxygen-zip",
|
target = ":doxygen-zip",
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
)
|
)
|
||||||
@@ -130,7 +130,7 @@ copy_file(
|
|||||||
|
|
||||||
maven_export(
|
maven_export(
|
||||||
name = "wpilibj_publish",
|
name = "wpilibj_publish",
|
||||||
maven_coordinates = "edu.wpi.first.wpilibj:documentation:$(WPILIB_VERSION)",
|
maven_coordinates = "org.wpilib.wpilibj:documentation:$(WPILIB_VERSION)",
|
||||||
target = ":javadoc-zip",
|
target = ":javadoc-zip",
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -22,12 +22,12 @@ evaluationDependsOn(':romiVendordep')
|
|||||||
evaluationDependsOn(':xrpVendordep')
|
evaluationDependsOn(':xrpVendordep')
|
||||||
|
|
||||||
def baseArtifactIdCpp = 'documentation'
|
def baseArtifactIdCpp = 'documentation'
|
||||||
def artifactGroupIdCpp = 'edu.wpi.first.wpilibc'
|
def artifactGroupIdCpp = 'org.wpilib.wpilibc'
|
||||||
def zipBaseNameCpp = '_GROUP_edu_wpi_first_wpilibc_ID_documentation_CLS'
|
def zipBaseNameCpp = '_GROUP_org_wpilib_wpilibc_ID_documentation_CLS'
|
||||||
|
|
||||||
def baseArtifactIdJava = 'documentation'
|
def baseArtifactIdJava = 'documentation'
|
||||||
def artifactGroupIdJava = 'edu.wpi.first.wpilibj'
|
def artifactGroupIdJava = 'org.wpilib.wpilibj'
|
||||||
def zipBaseNameJava = '_GROUP_edu_wpi_first_wpilibj_ID_documentation_CLS'
|
def zipBaseNameJava = '_GROUP_org_wpilib_wpilibj_ID_documentation_CLS'
|
||||||
|
|
||||||
def outputsFolder = file("$project.buildDir/outputs")
|
def outputsFolder = file("$project.buildDir/outputs")
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ wpilib_java_library(
|
|||||||
srcs = glob(["src/main/java/**/*.java"]),
|
srcs = glob(["src/main/java/**/*.java"]),
|
||||||
extra_source_pkgs = ["resources"],
|
extra_source_pkgs = ["resources"],
|
||||||
maven_artifact_name = "epilogue-processor-java",
|
maven_artifact_name = "epilogue-processor-java",
|
||||||
maven_group_id = "edu.wpi.first.epilogue",
|
maven_group_id = "org.wpilib.epilogue",
|
||||||
resource_strip_prefix = "epilogue-processor/src/main/resources/",
|
resource_strip_prefix = "epilogue-processor/src/main/resources/",
|
||||||
resources = glob(["src/main/resources/**"]),
|
resources = glob(["src/main/resources/**"]),
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ ext {
|
|||||||
useJava = true
|
useJava = true
|
||||||
useCpp = false
|
useCpp = false
|
||||||
baseId = 'epilogue-processor'
|
baseId = 'epilogue-processor'
|
||||||
groupId = 'edu.wpi.first.epilogue'
|
groupId = 'org.wpilib.epilogue'
|
||||||
|
|
||||||
devMain = ''
|
devMain = ''
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ wpilib_java_library(
|
|||||||
name = "epilogue-java",
|
name = "epilogue-java",
|
||||||
srcs = glob(["src/main/java/**/*.java"]),
|
srcs = glob(["src/main/java/**/*.java"]),
|
||||||
maven_artifact_name = "epilogue-runtime-java",
|
maven_artifact_name = "epilogue-runtime-java",
|
||||||
maven_group_id = "edu.wpi.first.epilogue",
|
maven_group_id = "org.wpilib.epilogue",
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
deps = [
|
deps = [
|
||||||
"//datalog:datalog-java",
|
"//datalog:datalog-java",
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ ext {
|
|||||||
useJava = true
|
useJava = true
|
||||||
useCpp = false
|
useCpp = false
|
||||||
baseId = 'epilogue-runtime'
|
baseId = 'epilogue-runtime'
|
||||||
groupId = 'edu.wpi.first.epilogue'
|
groupId = 'org.wpilib.epilogue'
|
||||||
|
|
||||||
devMain = ''
|
devMain = ''
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ wpilib_java_library(
|
|||||||
srcs = glob(["src/main/java/**/*.java"]),
|
srcs = glob(["src/main/java/**/*.java"]),
|
||||||
extra_source_pkgs = ["resources"],
|
extra_source_pkgs = ["resources"],
|
||||||
maven_artifact_name = "fields-java",
|
maven_artifact_name = "fields-java",
|
||||||
maven_group_id = "edu.wpi.first.fields",
|
maven_group_id = "org.wpilib.fields",
|
||||||
resource_strip_prefix = "fields/src/main/native/resources",
|
resource_strip_prefix = "fields/src/main/native/resources",
|
||||||
resources = glob(["src/main/native/resources/**"]),
|
resources = glob(["src/main/native/resources/**"]),
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
@@ -64,5 +64,5 @@ wpilib_java_junit5_test(
|
|||||||
package_minimal_cc_project(
|
package_minimal_cc_project(
|
||||||
name = "fields",
|
name = "fields",
|
||||||
maven_artifact_name = "fields-cpp",
|
maven_artifact_name = "fields-cpp",
|
||||||
maven_group_id = "edu.wpi.first.fields",
|
maven_group_id = "org.wpilib.fields",
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -22,8 +22,8 @@ dependencies {
|
|||||||
ext {
|
ext {
|
||||||
nativeName = 'fields'
|
nativeName = 'fields'
|
||||||
baseId = nativeName
|
baseId = nativeName
|
||||||
groupId = 'edu.wpi.first.fields'
|
groupId = 'org.wpilib.fields'
|
||||||
devMain = "edu.wpi.first.fields.DevMain"
|
devMain = "org.wpilib.fields.DevMain"
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "${rootDir}/shared/resources.gradle"
|
apply from: "${rootDir}/shared/resources.gradle"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ apply plugin: 'maven-publish'
|
|||||||
|
|
||||||
def baseArtifactId = project.nativeName
|
def baseArtifactId = project.nativeName
|
||||||
def artifactGroupId = project.groupId
|
def artifactGroupId = project.groupId
|
||||||
def cppZipBaseName = "_GROUP_edu_wpi_first_fields_ID_${baseArtifactId}-cpp_CLS"
|
def cppZipBaseName = "_GROUP_org_wpilib_fields_ID_${baseArtifactId}-cpp_CLS"
|
||||||
|
|
||||||
def outputsFolder = file("$project.buildDir/outputs")
|
def outputsFolder = file("$project.buildDir/outputs")
|
||||||
|
|
||||||
|
|||||||
@@ -102,19 +102,19 @@ cc_binary(
|
|||||||
package_minimal_cc_project(
|
package_minimal_cc_project(
|
||||||
name = "glass",
|
name = "glass",
|
||||||
maven_artifact_name = "libglass",
|
maven_artifact_name = "libglass",
|
||||||
maven_group_id = "edu.wpi.first.glass",
|
maven_group_id = "org.wpilib.glass",
|
||||||
)
|
)
|
||||||
|
|
||||||
package_minimal_cc_project(
|
package_minimal_cc_project(
|
||||||
name = "glassnt",
|
name = "glassnt",
|
||||||
maven_artifact_name = "libglassnt",
|
maven_artifact_name = "libglassnt",
|
||||||
maven_group_id = "edu.wpi.first.glass",
|
maven_group_id = "org.wpilib.glass",
|
||||||
)
|
)
|
||||||
|
|
||||||
package_binary_cc_project(
|
package_binary_cc_project(
|
||||||
name = "glassapp",
|
name = "glassapp",
|
||||||
maven_artifact_name = "Glass",
|
maven_artifact_name = "Glass",
|
||||||
maven_group_id = "edu.wpi.first.tools",
|
maven_group_id = "org.wpilib.tools",
|
||||||
renames = {
|
renames = {
|
||||||
"glassapp": "glass",
|
"glassapp": "glass",
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,16 +1,16 @@
|
|||||||
apply plugin: 'maven-publish'
|
apply plugin: 'maven-publish'
|
||||||
|
|
||||||
def baseArtifactId = 'Glass'
|
def baseArtifactId = 'Glass'
|
||||||
def artifactGroupId = 'edu.wpi.first.tools'
|
def artifactGroupId = 'org.wpilib.tools'
|
||||||
def zipBaseName = '_GROUP_edu_wpi_first_tools_ID_Glass_CLS'
|
def zipBaseName = '_GROUP_org_wpilib_tools_ID_Glass_CLS'
|
||||||
|
|
||||||
def libBaseArtifactId = 'libglass'
|
def libBaseArtifactId = 'libglass'
|
||||||
def libArtifactGroupId = 'edu.wpi.first.glass'
|
def libArtifactGroupId = 'org.wpilib.glass'
|
||||||
def libZipBaseName = '_GROUP_edu_wpi_first_glass_ID_libglass_CLS'
|
def libZipBaseName = '_GROUP_org_wpilib_glass_ID_libglass_CLS'
|
||||||
|
|
||||||
def libntBaseArtifactId = 'libglassnt'
|
def libntBaseArtifactId = 'libglassnt'
|
||||||
def libntArtifactGroupId = 'edu.wpi.first.glass'
|
def libntArtifactGroupId = 'org.wpilib.glass'
|
||||||
def libntZipBaseName = '_GROUP_edu_wpi_first_glass_ID_libglassnt_CLS'
|
def libntZipBaseName = '_GROUP_org_wpilib_glass_ID_libglassnt_CLS'
|
||||||
|
|
||||||
def outputsFolder = file("$project.buildDir/outputs")
|
def outputsFolder = file("$project.buildDir/outputs")
|
||||||
|
|
||||||
|
|||||||
@@ -183,7 +183,7 @@ wpilib_jni_java_library(
|
|||||||
name = "hal-java",
|
name = "hal-java",
|
||||||
srcs = glob(["src/main/java/**/*.java"]),
|
srcs = glob(["src/main/java/**/*.java"]),
|
||||||
maven_artifact_name = "hal-java",
|
maven_artifact_name = "hal-java",
|
||||||
maven_group_id = "edu.wpi.first.hal",
|
maven_group_id = "org.wpilib.hal",
|
||||||
native_libs = [":wpiHaljni"],
|
native_libs = [":wpiHaljni"],
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
deps = [
|
deps = [
|
||||||
@@ -230,5 +230,5 @@ java_binary(
|
|||||||
package_minimal_jni_project(
|
package_minimal_jni_project(
|
||||||
name = "wpiHal",
|
name = "wpiHal",
|
||||||
maven_artifact_name = "hal-cpp",
|
maven_artifact_name = "hal-cpp",
|
||||||
maven_group_id = "edu.wpi.first.hal",
|
maven_group_id = "org.wpilib.hal",
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -10,8 +10,8 @@ if (OperatingSystem.current().isWindows()) {
|
|||||||
def outputsFolder = file("$buildDir/outputs")
|
def outputsFolder = file("$buildDir/outputs")
|
||||||
|
|
||||||
def baseArtifactId = 'runtime'
|
def baseArtifactId = 'runtime'
|
||||||
def artifactGroupId = "edu.wpi.first.msvc"
|
def artifactGroupId = "org.wpilib.msvc"
|
||||||
def zipBaseName = "_GROUP_edu_wpi_first_msvc_ID_runtime_CLS"
|
def zipBaseName = "_GROUP_org_wpilib_msvc_ID_runtime_CLS"
|
||||||
|
|
||||||
def vsLocator = gradle.services.get(VisualStudioLocator)
|
def vsLocator = gradle.services.get(VisualStudioLocator)
|
||||||
|
|
||||||
|
|||||||
@@ -162,7 +162,7 @@ wpilib_jni_java_library(
|
|||||||
name = "ntcore-java",
|
name = "ntcore-java",
|
||||||
srcs = glob(["src/main/java/**/*.java"]) + [":generated_java"],
|
srcs = glob(["src/main/java/**/*.java"]) + [":generated_java"],
|
||||||
maven_artifact_name = "ntcore-java",
|
maven_artifact_name = "ntcore-java",
|
||||||
maven_group_id = "edu.wpi.first.ntcore",
|
maven_group_id = "org.wpilib.ntcore",
|
||||||
native_libs = [":ntcorejni"],
|
native_libs = [":ntcorejni"],
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
deps = [
|
deps = [
|
||||||
@@ -222,5 +222,5 @@ java_binary(
|
|||||||
package_default_jni_project(
|
package_default_jni_project(
|
||||||
name = "ntcore",
|
name = "ntcore",
|
||||||
maven_artifact_name = "ntcore-cpp",
|
maven_artifact_name = "ntcore-cpp",
|
||||||
maven_group_id = "edu.wpi.first.ntcore",
|
maven_group_id = "org.wpilib.ntcore",
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -69,5 +69,5 @@ wpilib_cc_shared_library(
|
|||||||
package_shared_cc_project(
|
package_shared_cc_project(
|
||||||
name = "ntcoreffi",
|
name = "ntcoreffi",
|
||||||
maven_artifact_name = "ntcoreffi-cpp",
|
maven_artifact_name = "ntcoreffi-cpp",
|
||||||
maven_group_id = "edu.wpi.first.ntcoreffi",
|
maven_group_id = "org.wpilib.ntcoreffi",
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -81,8 +81,8 @@ model {
|
|||||||
|
|
||||||
def nativeName = 'ntcoreffi'
|
def nativeName = 'ntcoreffi'
|
||||||
def baseArtifactId = nativeName
|
def baseArtifactId = nativeName
|
||||||
def artifactGroupId = "edu.wpi.first.${nativeName}"
|
def artifactGroupId = "org.wpilib.${nativeName}"
|
||||||
def zipBaseName = "_GROUP_edu_wpi_first_${nativeName}_ID_${nativeName}-cpp_CLS"
|
def zipBaseName = "_GROUP_org_wpilib_${nativeName}_ID_${nativeName}-cpp_CLS"
|
||||||
def outputsFolder = file("$project.buildDir/outputs")
|
def outputsFolder = file("$project.buildDir/outputs")
|
||||||
|
|
||||||
evaluationDependsOn(':ntcore')
|
evaluationDependsOn(':ntcore')
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ wpilib_java_library(
|
|||||||
name = "romiVendordep-java",
|
name = "romiVendordep-java",
|
||||||
srcs = glob(["src/main/java/**/*.java"]),
|
srcs = glob(["src/main/java/**/*.java"]),
|
||||||
maven_artifact_name = "romiVendordep-java",
|
maven_artifact_name = "romiVendordep-java",
|
||||||
maven_group_id = "edu.wpi.first.romiVendordep",
|
maven_group_id = "org.wpilib.romiVendordep",
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
deps = [
|
deps = [
|
||||||
"//hal:hal-java",
|
"//hal:hal-java",
|
||||||
@@ -99,5 +99,5 @@ java_binary(
|
|||||||
package_minimal_cc_project(
|
package_minimal_cc_project(
|
||||||
name = "romiVendordep",
|
name = "romiVendordep",
|
||||||
maven_artifact_name = "romiVendordep-cpp",
|
maven_artifact_name = "romiVendordep-cpp",
|
||||||
maven_group_id = "edu.wpi.first.romiVendordep",
|
maven_group_id = "org.wpilib.romiVendordep",
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
ext {
|
ext {
|
||||||
nativeName = 'romiVendordep'
|
nativeName = 'romiVendordep'
|
||||||
devMain = 'edu.wpi.first.wpilibj.romi.DevMain'
|
devMain = 'org.wpilib.romi.DevMain'
|
||||||
}
|
}
|
||||||
|
|
||||||
evaluationDependsOn(":ntcore")
|
evaluationDependsOn(":ntcore")
|
||||||
|
|||||||
@@ -3,8 +3,8 @@ apply plugin: 'maven-publish'
|
|||||||
def outputsFolder = file("$buildDir/outputs")
|
def outputsFolder = file("$buildDir/outputs")
|
||||||
|
|
||||||
def baseArtifactId = nativeName
|
def baseArtifactId = nativeName
|
||||||
def artifactGroupId = "edu.wpi.first.${nativeName}"
|
def artifactGroupId = "org.wpilib.${nativeName}"
|
||||||
def zipBaseName = "_GROUP_edu_wpi_first_${nativeName}_ID_${nativeName}-cpp_CLS"
|
def zipBaseName = "_GROUP_org_wpilib_${nativeName}_ID_${nativeName}-cpp_CLS"
|
||||||
|
|
||||||
def licenseFile = file("$rootDir/license.md")
|
def licenseFile = file("$rootDir/license.md")
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ apply from: "${rootDir}/shared/config.gradle"
|
|||||||
|
|
||||||
ext {
|
ext {
|
||||||
baseId = nativeName
|
baseId = nativeName
|
||||||
groupId = "edu.wpi.first.${nativeName}"
|
groupId = "org.wpilib.${nativeName}"
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "${rootDir}/shared/java/javacommon.gradle"
|
apply from: "${rootDir}/shared/java/javacommon.gradle"
|
||||||
|
|||||||
@@ -4,10 +4,10 @@ apply plugin: 'maven-publish'
|
|||||||
def outputsFolder = file("$buildDir/outputs")
|
def outputsFolder = file("$buildDir/outputs")
|
||||||
|
|
||||||
def baseArtifactId = nativeName
|
def baseArtifactId = nativeName
|
||||||
def artifactGroupId = "edu.wpi.first.${nativeName}"
|
def artifactGroupId = "org.wpilib.${nativeName}"
|
||||||
def zipBaseName = "_GROUP_edu_wpi_first_${nativeName}_ID_${nativeName}-cpp_CLS"
|
def zipBaseName = "_GROUP_org_wpilib_${nativeName}_ID_${nativeName}-cpp_CLS"
|
||||||
ext.zipBaseName = zipBaseName
|
ext.zipBaseName = zipBaseName
|
||||||
def jniCvStaticBaseName = "_GROUP_edu_wpi_first_${nativeName}_ID_${nativeName}-jnicvstatic_CLS"
|
def jniCvStaticBaseName = "_GROUP_org_wpilib_${nativeName}_ID_${nativeName}-jnicvstatic_CLS"
|
||||||
|
|
||||||
def licenseFile = file("$rootDir/license.md")
|
def licenseFile = file("$rootDir/license.md")
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ apply from: "${rootDir}/shared/config.gradle"
|
|||||||
|
|
||||||
ext {
|
ext {
|
||||||
baseId = nativeName
|
baseId = nativeName
|
||||||
groupId = "edu.wpi.first.${nativeName}"
|
groupId = "org.wpilib.${nativeName}"
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "${rootDir}/shared/java/javacommon.gradle"
|
apply from: "${rootDir}/shared/java/javacommon.gradle"
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
apply plugin: 'maven-publish'
|
apply plugin: 'maven-publish'
|
||||||
|
|
||||||
def baseArtifactId = pluginName
|
def baseArtifactId = pluginName
|
||||||
def artifactGroupId = 'edu.wpi.first.halsim'
|
def artifactGroupId = 'org.wpilib.halsim'
|
||||||
def zipBaseName = "_GROUP_edu_wpi_first_halsim_ID_${pluginName}_CLS"
|
def zipBaseName = "_GROUP_org_wpilib_halsim_ID_${pluginName}_CLS"
|
||||||
|
|
||||||
def outputsFolder = file("$project.buildDir/outputs")
|
def outputsFolder = file("$project.buildDir/outputs")
|
||||||
|
|
||||||
|
|||||||
@@ -88,5 +88,5 @@ cc_binary(
|
|||||||
package_minimal_cc_project(
|
package_minimal_cc_project(
|
||||||
name = "halsim_ds_socket",
|
name = "halsim_ds_socket",
|
||||||
maven_artifact_name = "halsim_ds_socket",
|
maven_artifact_name = "halsim_ds_socket",
|
||||||
maven_group_id = "edu.wpi.first.halsim",
|
maven_group_id = "org.wpilib.halsim",
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -144,5 +144,5 @@ cc_binary(
|
|||||||
package_minimal_cc_project(
|
package_minimal_cc_project(
|
||||||
name = "halsim_gui",
|
name = "halsim_gui",
|
||||||
maven_artifact_name = "halsim_gui",
|
maven_artifact_name = "halsim_gui",
|
||||||
maven_group_id = "edu.wpi.first.halsim",
|
maven_group_id = "org.wpilib.halsim",
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -66,5 +66,5 @@ cc_binary(
|
|||||||
package_minimal_cc_project(
|
package_minimal_cc_project(
|
||||||
name = "halsim_ws_client",
|
name = "halsim_ws_client",
|
||||||
maven_artifact_name = "halsim_ws_client",
|
maven_artifact_name = "halsim_ws_client",
|
||||||
maven_group_id = "edu.wpi.first.halsim",
|
maven_group_id = "org.wpilib.halsim",
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -50,5 +50,5 @@ wpilib_cc_static_library(
|
|||||||
package_minimal_cc_project(
|
package_minimal_cc_project(
|
||||||
name = "halsim_ws_core",
|
name = "halsim_ws_core",
|
||||||
maven_artifact_name = "halsim_ws_core",
|
maven_artifact_name = "halsim_ws_core",
|
||||||
maven_group_id = "edu.wpi.first.halsim",
|
maven_group_id = "org.wpilib.halsim",
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -103,5 +103,5 @@ cc_binary(
|
|||||||
package_minimal_cc_project(
|
package_minimal_cc_project(
|
||||||
name = "halsim_ws_server",
|
name = "halsim_ws_server",
|
||||||
maven_artifact_name = "halsim_ws_server",
|
maven_artifact_name = "halsim_ws_server",
|
||||||
maven_group_id = "edu.wpi.first.halsim",
|
maven_group_id = "org.wpilib.halsim",
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -79,5 +79,5 @@ cc_binary(
|
|||||||
package_minimal_cc_project(
|
package_minimal_cc_project(
|
||||||
name = "halsim_xrp",
|
name = "halsim_xrp",
|
||||||
maven_artifact_name = "halsim_xrp",
|
maven_artifact_name = "halsim_xrp",
|
||||||
maven_group_id = "edu.wpi.first.halsim",
|
maven_group_id = "org.wpilib.halsim",
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -60,5 +60,5 @@ cc_binary(
|
|||||||
package_binary_cc_project(
|
package_binary_cc_project(
|
||||||
name = "datalogtool",
|
name = "datalogtool",
|
||||||
maven_artifact_name = "DataLogTool",
|
maven_artifact_name = "DataLogTool",
|
||||||
maven_group_id = "edu.wpi.first.tools",
|
maven_group_id = "org.wpilib.tools",
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
apply plugin: 'maven-publish'
|
apply plugin: 'maven-publish'
|
||||||
|
|
||||||
def baseArtifactId = 'DataLogTool'
|
def baseArtifactId = 'DataLogTool'
|
||||||
def artifactGroupId = 'edu.wpi.first.tools'
|
def artifactGroupId = 'org.wpilib.tools'
|
||||||
def zipBaseName = '_GROUP_edu_wpi_first_tools_ID_DataLogTool_CLS'
|
def zipBaseName = '_GROUP_org_wpilib_tools_ID_DataLogTool_CLS'
|
||||||
|
|
||||||
def outputsFolder = file("$project.buildDir/outputs")
|
def outputsFolder = file("$project.buildDir/outputs")
|
||||||
|
|
||||||
|
|||||||
@@ -43,5 +43,5 @@ cc_binary(
|
|||||||
package_binary_cc_project(
|
package_binary_cc_project(
|
||||||
name = "outlineviewer",
|
name = "outlineviewer",
|
||||||
maven_artifact_name = "OutlineViewer",
|
maven_artifact_name = "OutlineViewer",
|
||||||
maven_group_id = "edu.wpi.first.tools",
|
maven_group_id = "org.wpilib.tools",
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
apply plugin: 'maven-publish'
|
apply plugin: 'maven-publish'
|
||||||
|
|
||||||
def baseArtifactId = 'OutlineViewer'
|
def baseArtifactId = 'OutlineViewer'
|
||||||
def artifactGroupId = 'edu.wpi.first.tools'
|
def artifactGroupId = 'org.wpilib.tools'
|
||||||
def zipBaseName = '_GROUP_edu_wpi_first_tools_ID_OutlineViewer_CLS'
|
def zipBaseName = '_GROUP_org_wpilib_tools_ID_OutlineViewer_CLS'
|
||||||
|
|
||||||
def outputsFolder = file("$project.buildDir/outputs")
|
def outputsFolder = file("$project.buildDir/outputs")
|
||||||
|
|
||||||
|
|||||||
@@ -47,5 +47,5 @@ cc_binary(
|
|||||||
package_binary_cc_project(
|
package_binary_cc_project(
|
||||||
name = "processstarter",
|
name = "processstarter",
|
||||||
maven_artifact_name = "processstarter",
|
maven_artifact_name = "processstarter",
|
||||||
maven_group_id = "edu.wpi.first.tools",
|
maven_group_id = "org.wpilib.tools",
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
apply plugin: 'maven-publish'
|
apply plugin: 'maven-publish'
|
||||||
|
|
||||||
def baseArtifactId = 'processstarter'
|
def baseArtifactId = 'processstarter'
|
||||||
def artifactGroupId = 'edu.wpi.first.tools'
|
def artifactGroupId = 'org.wpilib.tools'
|
||||||
def zipBaseName = '_GROUP_edu_wpi_first_tools_ID_processstarter_CLS'
|
def zipBaseName = '_GROUP_org_wpilib_tools_ID_processstarter_CLS'
|
||||||
|
|
||||||
def outputsFolder = file("$project.buildDir/outputs")
|
def outputsFolder = file("$project.buildDir/outputs")
|
||||||
|
|
||||||
|
|||||||
@@ -60,5 +60,5 @@ cc_test(
|
|||||||
package_binary_cc_project(
|
package_binary_cc_project(
|
||||||
name = "sysid",
|
name = "sysid",
|
||||||
maven_artifact_name = "SysId",
|
maven_artifact_name = "SysId",
|
||||||
maven_group_id = "edu.wpi.first.tools",
|
maven_group_id = "org.wpilib.tools",
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
apply plugin: 'maven-publish'
|
apply plugin: 'maven-publish'
|
||||||
|
|
||||||
def baseArtifactId = 'SysId'
|
def baseArtifactId = 'SysId'
|
||||||
def artifactGroupId = 'edu.wpi.first.tools'
|
def artifactGroupId = 'org.wpilib.tools'
|
||||||
def zipBaseName = '_GROUP_edu_wpi_first_tools_ID_SysId_CLS'
|
def zipBaseName = '_GROUP_org_wpilib_tools_ID_SysId_CLS'
|
||||||
|
|
||||||
def outputsFolder = file("$project.buildDir/outputs")
|
def outputsFolder = file("$project.buildDir/outputs")
|
||||||
|
|
||||||
|
|||||||
@@ -243,5 +243,5 @@ package_binary_cc_project(
|
|||||||
name = "wpical",
|
name = "wpical",
|
||||||
extra_files = [":licenses"],
|
extra_files = [":licenses"],
|
||||||
maven_artifact_name = "wpical",
|
maven_artifact_name = "wpical",
|
||||||
maven_group_id = "edu.wpi.first.tools",
|
maven_group_id = "org.wpilib.tools",
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
apply plugin: 'maven-publish'
|
apply plugin: 'maven-publish'
|
||||||
|
|
||||||
def baseArtifactId = 'wpical'
|
def baseArtifactId = 'wpical'
|
||||||
def artifactGroupId = 'edu.wpi.first.tools'
|
def artifactGroupId = 'org.wpilib.tools'
|
||||||
def zipBaseName = '_GROUP_edu_wpi_first_tools_ID_wpical_CLS'
|
def zipBaseName = '_GROUP_org_wpilib_tools_ID_wpical_CLS'
|
||||||
|
|
||||||
def outputsFolder = file("$project.buildDir/outputs")
|
def outputsFolder = file("$project.buildDir/outputs")
|
||||||
|
|
||||||
|
|||||||
@@ -86,5 +86,5 @@ wpilib_cc_static_library(
|
|||||||
package_minimal_cc_project(
|
package_minimal_cc_project(
|
||||||
name = "wpigui",
|
name = "wpigui",
|
||||||
maven_artifact_name = "wpigui-cpp",
|
maven_artifact_name = "wpigui-cpp",
|
||||||
maven_group_id = "edu.wpi.first.wpigui",
|
maven_group_id = "org.wpilib.wpigui",
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
apply plugin: 'maven-publish'
|
apply plugin: 'maven-publish'
|
||||||
|
|
||||||
def baseArtifactId = 'wpigui-cpp'
|
def baseArtifactId = 'wpigui-cpp'
|
||||||
def artifactGroupId = 'edu.wpi.first.wpigui'
|
def artifactGroupId = 'org.wpilib.wpigui'
|
||||||
def zipBaseName = '_GROUP_edu_wpi_first_wpigui_ID_wpigui-cpp_CLS'
|
def zipBaseName = '_GROUP_org_wpilib_wpigui_ID_wpigui-cpp_CLS'
|
||||||
|
|
||||||
def outputsFolder = file("$project.buildDir/outputs")
|
def outputsFolder = file("$project.buildDir/outputs")
|
||||||
|
|
||||||
|
|||||||
@@ -197,5 +197,5 @@ cc_binary(
|
|||||||
package_minimal_cc_project(
|
package_minimal_cc_project(
|
||||||
name = "wpilibc",
|
name = "wpilibc",
|
||||||
maven_artifact_name = "wpilibc-cpp",
|
maven_artifact_name = "wpilibc-cpp",
|
||||||
maven_group_id = "edu.wpi.first.wpilibc",
|
maven_group_id = "org.wpilib.wpilibc",
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
apply plugin: 'maven-publish'
|
apply plugin: 'maven-publish'
|
||||||
|
|
||||||
def baseArtifactId = 'wpilibc-cpp'
|
def baseArtifactId = 'wpilibc-cpp'
|
||||||
def artifactGroupId = 'edu.wpi.first.wpilibc'
|
def artifactGroupId = 'org.wpilib.wpilibc'
|
||||||
def zipBaseName = '_GROUP_edu_wpi_first_wpilibc_ID_wpilibc-cpp_CLS'
|
def zipBaseName = '_GROUP_org_wpilib_wpilibc_ID_wpilibc-cpp_CLS'
|
||||||
|
|
||||||
def outputsFolder = file("$project.buildDir/outputs")
|
def outputsFolder = file("$project.buildDir/outputs")
|
||||||
|
|
||||||
|
|||||||
@@ -52,21 +52,21 @@ build_tests()
|
|||||||
|
|
||||||
maven_export(
|
maven_export(
|
||||||
name = "examples_publish",
|
name = "examples_publish",
|
||||||
maven_coordinates = "edu.wpi.first.wpilibc:examples:$(WPILIB_VERSION)",
|
maven_coordinates = "org.wpilib.wpilibc:examples:$(WPILIB_VERSION)",
|
||||||
target = ":examples-zip",
|
target = ":examples-zip",
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
)
|
)
|
||||||
|
|
||||||
maven_export(
|
maven_export(
|
||||||
name = "commands_publish",
|
name = "commands_publish",
|
||||||
maven_coordinates = "edu.wpi.first.wpilibc:commands:$(WPILIB_VERSION)",
|
maven_coordinates = "org.wpilib.wpilibc:commands:$(WPILIB_VERSION)",
|
||||||
target = ":commands-zip",
|
target = ":commands-zip",
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
)
|
)
|
||||||
|
|
||||||
maven_export(
|
maven_export(
|
||||||
name = "templates_publish",
|
name = "templates_publish",
|
||||||
maven_coordinates = "edu.wpi.first.wpilibc:templates:$(WPILIB_VERSION)",
|
maven_coordinates = "org.wpilib.wpilibc:templates:$(WPILIB_VERSION)",
|
||||||
target = ":templates-zip",
|
target = ":templates-zip",
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -3,11 +3,11 @@ apply plugin: 'maven-publish'
|
|||||||
def baseExamplesArtifactId = 'examples'
|
def baseExamplesArtifactId = 'examples'
|
||||||
def baseTemplatesArtifactId = 'templates'
|
def baseTemplatesArtifactId = 'templates'
|
||||||
def baseCommandsArtifactId = 'commands'
|
def baseCommandsArtifactId = 'commands'
|
||||||
def artifactGroupId = 'edu.wpi.first.wpilibc'
|
def artifactGroupId = 'org.wpilib.wpilibc'
|
||||||
|
|
||||||
def examplesZipBaseName = '_GROUP_edu_wpi_first_wpilibc_ID_examples_CLS'
|
def examplesZipBaseName = '_GROUP_org_wpilib_wpilibc_ID_examples_CLS'
|
||||||
def templatesZipBaseName = '_GROUP_edu_wpi_first_wpilibc_ID_templates_CLS'
|
def templatesZipBaseName = '_GROUP_org_wpilib_wpilibc_ID_templates_CLS'
|
||||||
def commandsZipBaseName = '_GROUP_edu_wpi_first_wpilibc_ID_commands_CLS'
|
def commandsZipBaseName = '_GROUP_org_wpilib_wpilibc_ID_commands_CLS'
|
||||||
|
|
||||||
def outputsFolder = file("$project.buildDir/outputs")
|
def outputsFolder = file("$project.buildDir/outputs")
|
||||||
|
|
||||||
|
|||||||
@@ -78,7 +78,7 @@ wpilib_java_library(
|
|||||||
] + glob(["src/main/java/**/*.java"]),
|
] + glob(["src/main/java/**/*.java"]),
|
||||||
extra_source_pkgs = ["generated_version_files"],
|
extra_source_pkgs = ["generated_version_files"],
|
||||||
maven_artifact_name = "wpilibj-java",
|
maven_artifact_name = "wpilibj-java",
|
||||||
maven_group_id = "edu.wpi.first.wpilibj",
|
maven_group_id = "org.wpilib.wpilibj",
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
deps = [
|
deps = [
|
||||||
"//cameraserver:cameraserver-java",
|
"//cameraserver:cameraserver-java",
|
||||||
|
|||||||
@@ -5,8 +5,8 @@ evaluationDependsOn(':cameraserver')
|
|||||||
|
|
||||||
ext {
|
ext {
|
||||||
baseId = 'wpilibj'
|
baseId = 'wpilibj'
|
||||||
groupId = 'edu.wpi.first.wpilibj'
|
groupId = 'org.wpilib.wpilibj'
|
||||||
devMain = 'edu.wpi.first.wpilibj.DevMain'
|
devMain = 'org.wpilib.wpilibj.DevMain'
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "${rootDir}/shared/java/javacommon.gradle"
|
apply from: "${rootDir}/shared/java/javacommon.gradle"
|
||||||
|
|||||||
@@ -50,21 +50,21 @@ build_tests()
|
|||||||
|
|
||||||
maven_export(
|
maven_export(
|
||||||
name = "examples_publish",
|
name = "examples_publish",
|
||||||
maven_coordinates = "edu.wpi.first.wpilibj:examples:$(WPILIB_VERSION)",
|
maven_coordinates = "org.wpilib.wpilibj:examples:$(WPILIB_VERSION)",
|
||||||
target = ":examples-zip",
|
target = ":examples-zip",
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
)
|
)
|
||||||
|
|
||||||
maven_export(
|
maven_export(
|
||||||
name = "commands_publish",
|
name = "commands_publish",
|
||||||
maven_coordinates = "edu.wpi.first.wpilibj:commands:$(WPILIB_VERSION)",
|
maven_coordinates = "org.wpilib.wpilibj:commands:$(WPILIB_VERSION)",
|
||||||
target = ":commands-zip",
|
target = ":commands-zip",
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
)
|
)
|
||||||
|
|
||||||
maven_export(
|
maven_export(
|
||||||
name = "templates_publish",
|
name = "templates_publish",
|
||||||
maven_coordinates = "edu.wpi.first.wpilibj:templates:$(WPILIB_VERSION)",
|
maven_coordinates = "org.wpilib.wpilibj:templates:$(WPILIB_VERSION)",
|
||||||
target = ":templates-zip",
|
target = ":templates-zip",
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -3,11 +3,11 @@ apply plugin: 'maven-publish'
|
|||||||
def baseExamplesArtifactId = 'examples'
|
def baseExamplesArtifactId = 'examples'
|
||||||
def baseTemplatesArtifactId = 'templates'
|
def baseTemplatesArtifactId = 'templates'
|
||||||
def baseCommandsArtifactId = 'commands'
|
def baseCommandsArtifactId = 'commands'
|
||||||
def artifactGroupId = 'edu.wpi.first.wpilibj'
|
def artifactGroupId = 'org.wpilib.wpilibj'
|
||||||
|
|
||||||
def examplesZipBaseName = '_GROUP_edu_wpi_first_wpilibj_ID_examples_CLS'
|
def examplesZipBaseName = '_GROUP_org_wpilib_wpilibj_ID_examples_CLS'
|
||||||
def templatesZipBaseName = '_GROUP_edu_wpi_first_wpilibj_ID_templates_CLS'
|
def templatesZipBaseName = '_GROUP_org_wpilib_wpilibj_ID_templates_CLS'
|
||||||
def commandsZipBaseName = '_GROUP_edu_wpi_first_wpilibj_ID_commands_CLS'
|
def commandsZipBaseName = '_GROUP_org_wpilib_wpilibj_ID_commands_CLS'
|
||||||
|
|
||||||
def outputsFolder = file("$project.buildDir/outputs")
|
def outputsFolder = file("$project.buildDir/outputs")
|
||||||
|
|
||||||
|
|||||||
@@ -232,7 +232,7 @@ wpilib_jni_java_library(
|
|||||||
name = "wpimath-java",
|
name = "wpimath-java",
|
||||||
srcs = [":generated_java"] + glob(["src/main/java/**/*.java"]),
|
srcs = [":generated_java"] + glob(["src/main/java/**/*.java"]),
|
||||||
maven_artifact_name = "wpimath-java",
|
maven_artifact_name = "wpimath-java",
|
||||||
maven_group_id = "edu.wpi.first.wpimath",
|
maven_group_id = "org.wpilib.wpimath",
|
||||||
native_libs = [":wpimathjni"],
|
native_libs = [":wpimathjni"],
|
||||||
resource_strip_prefix = "wpimath/src/main/proto",
|
resource_strip_prefix = "wpimath/src/main/proto",
|
||||||
resources = glob(["src/main/proto/**"]),
|
resources = glob(["src/main/proto/**"]),
|
||||||
@@ -317,5 +317,5 @@ py_binary(
|
|||||||
package_default_jni_project(
|
package_default_jni_project(
|
||||||
name = "wpimath",
|
name = "wpimath",
|
||||||
maven_artifact_name = "wpimath-cpp",
|
maven_artifact_name = "wpimath-cpp",
|
||||||
maven_group_id = "edu.wpi.first.wpimath",
|
maven_group_id = "org.wpilib.wpimath",
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ ext {
|
|||||||
useJava = true
|
useJava = true
|
||||||
useCpp = true
|
useCpp = true
|
||||||
baseId = 'wpimath'
|
baseId = 'wpimath'
|
||||||
groupId = 'edu.wpi.first.wpimath'
|
groupId = 'org.wpilib.wpimath'
|
||||||
|
|
||||||
nativeName = 'wpimath'
|
nativeName = 'wpimath'
|
||||||
devMain = 'org.wpilib.math.DevMain'
|
devMain = 'org.wpilib.math.DevMain'
|
||||||
|
|||||||
@@ -208,7 +208,7 @@ wpilib_jni_java_library(
|
|||||||
name = "wpinet-java",
|
name = "wpinet-java",
|
||||||
srcs = glob(["src/main/java/**/*.java"]),
|
srcs = glob(["src/main/java/**/*.java"]),
|
||||||
maven_artifact_name = "wpinet-java",
|
maven_artifact_name = "wpinet-java",
|
||||||
maven_group_id = "edu.wpi.first.wpinet",
|
maven_group_id = "org.wpilib.wpinet",
|
||||||
native_libs = [":wpinetjni"],
|
native_libs = [":wpinetjni"],
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
deps = [
|
deps = [
|
||||||
@@ -353,5 +353,5 @@ robotpy_py_test(
|
|||||||
package_minimal_jni_project(
|
package_minimal_jni_project(
|
||||||
name = "wpinet",
|
name = "wpinet",
|
||||||
maven_artifact_name = "wpinet-cpp",
|
maven_artifact_name = "wpinet-cpp",
|
||||||
maven_group_id = "edu.wpi.first.wpinet",
|
maven_group_id = "org.wpilib.wpinet",
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
ext {
|
ext {
|
||||||
baseId = 'wpinet'
|
baseId = 'wpinet'
|
||||||
groupId = 'edu.wpi.first.net'
|
groupId = 'org.wpilib.net'
|
||||||
|
|
||||||
nativeName = 'wpinet'
|
nativeName = 'wpinet'
|
||||||
devMain = 'edu.wpi.first.net.DevMain'
|
devMain = 'org.wpilib.net.DevMain'
|
||||||
|
|
||||||
splitSetup = {
|
splitSetup = {
|
||||||
it.sources {
|
it.sources {
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ wpilib_java_library(
|
|||||||
name = "wpiunits-java",
|
name = "wpiunits-java",
|
||||||
srcs = glob(["src/main/java/**/*.java"]) + glob(["src/generated/main/java/**/*.java"]),
|
srcs = glob(["src/main/java/**/*.java"]) + glob(["src/generated/main/java/**/*.java"]),
|
||||||
maven_artifact_name = "wpiunits-java",
|
maven_artifact_name = "wpiunits-java",
|
||||||
maven_group_id = "edu.wpi.first.wpiunits",
|
maven_group_id = "org.wpilib.wpiunits",
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
deps = [],
|
deps = [],
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -2,10 +2,10 @@ ext {
|
|||||||
useJava = true
|
useJava = true
|
||||||
useCpp = false
|
useCpp = false
|
||||||
baseId = 'wpiunits'
|
baseId = 'wpiunits'
|
||||||
groupId = 'edu.wpi.first.wpiunits'
|
groupId = 'org.wpilib.wpiunits'
|
||||||
|
|
||||||
nativeName = 'wpiunits'
|
nativeName = 'wpiunits'
|
||||||
devMain = 'edu.wpi.first.units.DevMain'
|
devMain = 'org.wpilib.units.DevMain'
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "${rootDir}/shared/java/javacommon.gradle"
|
apply from: "${rootDir}/shared/java/javacommon.gradle"
|
||||||
|
|||||||
@@ -262,7 +262,7 @@ wpilib_jni_java_library(
|
|||||||
name = "wpiutil-java",
|
name = "wpiutil-java",
|
||||||
srcs = glob(["src/main/java/**/*.java"]),
|
srcs = glob(["src/main/java/**/*.java"]),
|
||||||
maven_artifact_name = "wpiutil-java",
|
maven_artifact_name = "wpiutil-java",
|
||||||
maven_group_id = "edu.wpi.first.wpiutil",
|
maven_group_id = "org.wpilib.wpiutil",
|
||||||
native_libs = [":wpiutiljni"],
|
native_libs = [":wpiutiljni"],
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
deps = [
|
deps = [
|
||||||
@@ -442,5 +442,5 @@ robotpy_py_test(
|
|||||||
package_default_jni_project(
|
package_default_jni_project(
|
||||||
name = "wpiutil",
|
name = "wpiutil",
|
||||||
maven_artifact_name = "wpiutil-cpp",
|
maven_artifact_name = "wpiutil-cpp",
|
||||||
maven_group_id = "edu.wpi.first.wpiutil",
|
maven_group_id = "org.wpilib.wpiutil",
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ ext {
|
|||||||
'Java_org_wpilib_util_CombinedRuntimeLoader_setDllDirectory'
|
'Java_org_wpilib_util_CombinedRuntimeLoader_setDllDirectory'
|
||||||
]
|
]
|
||||||
baseId = 'wpiutil'
|
baseId = 'wpiutil'
|
||||||
groupId = 'edu.wpi.first.wpiutil'
|
groupId = 'org.wpilib.wpiutil'
|
||||||
|
|
||||||
nativeName = 'wpiutil'
|
nativeName = 'wpiutil'
|
||||||
devMain = 'org.wpilib.util.DevMain'
|
devMain = 'org.wpilib.util.DevMain'
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ wpilib_java_library(
|
|||||||
name = "xrpVendordep-java",
|
name = "xrpVendordep-java",
|
||||||
srcs = glob(["src/main/java/**/*.java"]),
|
srcs = glob(["src/main/java/**/*.java"]),
|
||||||
maven_artifact_name = "xrpVendordep-java",
|
maven_artifact_name = "xrpVendordep-java",
|
||||||
maven_group_id = "edu.wpi.first.xrpVendordep",
|
maven_group_id = "org.wpilib.xrpVendordep",
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
deps = [
|
deps = [
|
||||||
"//hal:hal-java",
|
"//hal:hal-java",
|
||||||
@@ -97,5 +97,5 @@ java_binary(
|
|||||||
package_minimal_cc_project(
|
package_minimal_cc_project(
|
||||||
name = "xrpVendordep",
|
name = "xrpVendordep",
|
||||||
maven_artifact_name = "xrpVendordep-cpp",
|
maven_artifact_name = "xrpVendordep-cpp",
|
||||||
maven_group_id = "edu.wpi.first.xrpVendordep",
|
maven_group_id = "org.wpilib.xrpVendordep",
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
ext {
|
ext {
|
||||||
nativeName = 'xrpVendordep'
|
nativeName = 'xrpVendordep'
|
||||||
devMain = 'edu.wpi.first.wpilibj.xrp.DevMain'
|
devMain = 'org.wpilib.xrp.DevMain'
|
||||||
}
|
}
|
||||||
|
|
||||||
evaluationDependsOn(":ntcore")
|
evaluationDependsOn(":ntcore")
|
||||||
|
|||||||
Reference in New Issue
Block a user