Skip to content

Commit

Permalink
Update to WPILibVersioningPlugin 4.1.0 (wpilibsuite#148)
Browse files Browse the repository at this point in the history
  • Loading branch information
AustinShalit authored Jan 1, 2021
1 parent ca494fe commit 309bb75
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,14 @@ plugins {
id 'idea'
id 'jacoco'
id 'pmd'
id 'edu.wpi.first.wpilib.versioning.WPILibVersioningPlugin' version '4.0.2'
id 'edu.wpi.first.wpilib.versioning.WPILibVersioningPlugin' version '4.1.0'
id 'edu.wpi.first.wpilib.repositories.WPILibRepositoriesPlugin' version '2020.2'
id 'checkstyle'
id 'edu.wpi.first.WpilibTools' version '0.7.1'
}

if (project.hasProperty('buildServer')) {
wpilibVersioning.buildServerMode = true
wpilibVersioning.useAllTags = true
}

if (project.hasProperty('releaseMode')) {
wpilibVersioning.releaseMode = true
wpilibVersioning.useAllTags = true
}
wpilibVersioning.buildServerMode = project.hasProperty('buildServer')
wpilibVersioning.releaseMode = project.hasProperty('releaseMode')

allprojects {
repositories {
Expand Down

0 comments on commit 309bb75

Please sign in to comment.