Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
72 changes: 32 additions & 40 deletions CaDoodleUpdater/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,64 +3,56 @@
*
* This generated file contains a sample Java library project to get you started.
* For more details take a look at the 'Building Java & JVM projects' chapter in the Gradle
* User Manual available at https://docs.gradle.org/8.1.1/userguide/building_java_projects.html
* User Manual available at https://docs.gradle.org/current/userguide/userguide.html
*/
buildscript {
repositories {
gradlePluginPortal()
}
dependencies {
classpath 'com.github.johnrengelman:shadow:8.1.1'
}
}

apply plugin: 'com.github.johnrengelman.shadow'
apply plugin: 'java'
apply plugin: 'application'
apply plugin: 'eclipse'

plugins {
id 'java'
id 'application'
id 'eclipse'
id 'com.gradleup.shadow' version '8.3.9'
}

repositories {
// Use Maven Central for resolving dependencies.
mavenCentral()
// Use Maven Central for resolving dependencies.
mavenCentral()
}

dependencies {
// Use JUnit Jupiter for testing.
testImplementation 'org.junit.jupiter:junit-jupiter:5.9.1'
// Use JUnit Jupiter for testing.
testImplementation 'org.junit.jupiter:junit-jupiter:5.10.3'

// This dependency is used internally, and not exposed to consumers on their own compile classpath.
implementation 'com.google.guava:guava:31.1-jre'
implementation 'com.google.code.gson:gson:2.8.6'
// This dependency is used internally, and not exposed to consumers on their own compile classpath.
implementation 'com.google.guava:guava:31.1-jre'
implementation 'com.google.code.gson:gson:2.11.0'
implementation 'org.apache.commons:commons-compress:1.26.2'
}

// Apply a specific Java toolchain to ease working on different environments.
java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}

tasks.named('test') {
// Use JUnit Platform for unit tests.
useJUnitPlatform()
}
application {
// Define the main class for the application.
mainClass = 'com.commonwealthrobotics.Main'
// Use JUnit Platform for unit tests.
useJUnitPlatform()
}

shadowJar {
archiveBaseName.set('CaDoodleUpdater')
archiveClassifier.set('')
archiveVersion.set('')
}
jar {
tasks.named('shadowJar', com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar) {
archiveBaseName = 'CaDoodleUpdater'
archiveClassifier = ''
archiveVersion = ''
manifest {
attributes 'Implementation-Title': 'BowlerStudioUpdater',
'Implementation-Version': '0.0.1',
'Main-Class': 'com.commonwealthrobotics.Main'

attributes(
'Implementation-Title': 'BowlerStudioUpdater',
'Implementation-Version': '0.0.1',
'Main-Class': 'com.commonwealthrobotics.Main'
)
}
}

application {
mainClass = 'com.commonwealthrobotics.Main'
}
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
networkTimeout=10000
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists