Clean up build (#1572)

Fixes #1564. Also copies vendordep JSONs to the examples as advised by
Thad. Removes unused shared/javacpp/setupBuild.gradle. Also removes
unnecessary `chmod +x gradlew` from CI workflows.
This commit is contained in:
Gold856
2024-11-16 21:30:34 -05:00
committed by GitHub
parent 097e641789
commit eff95c09f1
19 changed files with 88 additions and 248 deletions

View File

@@ -6,8 +6,6 @@ plugins {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
apply from: "${rootDir}/../shared/examples_common.gradle"
def ROBOT_MAIN_CLASS = "frc.robot.Main"
repositories {

View File

@@ -6,8 +6,6 @@ plugins {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
apply from: "${rootDir}/../shared/examples_common.gradle"
def ROBOT_MAIN_CLASS = "frc.robot.Main"
wpi.maven.useDevelopment = true

View File

@@ -2,8 +2,6 @@ plugins {
id "com.diffplug.spotless" version "6.1.2"
}
apply from: "examples.gradle"
allprojects {
repositories {
mavenCentral()
@@ -24,7 +22,5 @@ spotless {
}
java {
target "**/*.java"
targetExclude("photon-core/src/main/java/org/photonvision/PhotonVersion.java")
targetExclude("photon-lib/src/main/java/org/photonvision/PhotonVersion.java")
}
}

View File

@@ -6,8 +6,6 @@ plugins {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
apply from: "${rootDir}/../shared/examples_common.gradle"
def ROBOT_MAIN_CLASS = "frc.robot.Main"
wpi.maven.useDevelopment = true