-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/staging' into broom-time
- Loading branch information
Showing
44 changed files
with
173 additions
and
176 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,27 @@ | ||
import org.gradle.internal.os.OperatingSystem | ||
|
||
pluginManagement { | ||
repositories { | ||
mavenLocal() | ||
gradlePluginPortal() | ||
String frcYear = '2023' | ||
File frcHome | ||
if (OperatingSystem.current().isWindows()) { | ||
String publicFolder = System.getenv('PUBLIC') | ||
if (publicFolder == null) { | ||
publicFolder = "C:\\Users\\Public" | ||
} | ||
def homeRoot = new File(publicFolder, "wpilib") | ||
frcHome = new File(homeRoot, frcYear) | ||
} else { | ||
def userFolder = System.getProperty("user.home") | ||
def homeRoot = new File(userFolder, "wpilib") | ||
frcHome = new File(homeRoot, frcYear) | ||
} | ||
def frcHomeMaven = new File(frcHome, 'maven') | ||
maven { | ||
name 'frcHome' | ||
url frcHomeMaven | ||
} | ||
} | ||
repositories { | ||
mavenLocal() | ||
gradlePluginPortal() | ||
String frcYear = '2023' | ||
File frcHome | ||
if (OperatingSystem.current().isWindows()) { | ||
String publicFolder = System.getenv('PUBLIC') | ||
if (publicFolder == null) { | ||
publicFolder = "C:\\Users\\Public" | ||
} | ||
def homeRoot = new File(publicFolder, "wpilib") | ||
frcHome = new File(homeRoot, frcYear) | ||
} else { | ||
def userFolder = System.getProperty("user.home") | ||
def homeRoot = new File(userFolder, "wpilib") | ||
frcHome = new File(homeRoot, frcYear) | ||
} | ||
def frcHomeMaven = new File(frcHome, 'maven') | ||
maven { | ||
name 'frcHome' | ||
url frcHomeMaven | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.