Skip to content

Commit

Permalink
Fix jitpack again
Browse files Browse the repository at this point in the history
  • Loading branch information
serivesmejia committed Aug 31, 2023
1 parent 4df313d commit 9cfb544
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
6 changes: 3 additions & 3 deletions RobotCore/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ group 'org.firstinspires.ftc'
version '8.2.0'

java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
toolchain {
languageVersion = JavaLanguageVersion.of(10)
}
}


task sourcesJar(type: Jar) {
from sourceSets.main.allJava
archiveClassifier = "sources"
Expand Down
6 changes: 6 additions & 0 deletions example/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ plugins {
id 'java'
}

java {
toolchain {
languageVersion = JavaLanguageVersion.of(10)
}
}

group 'com.github.deltacv'

repositories {
Expand Down
2 changes: 1 addition & 1 deletion jitpack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ jdk:
before_install:
- chmod +x gradlew
install:
- ./gradlew clean build :publishToMavenLocal :RobotCore:publishToMavenLocal -x test
- ./gradlew clean build :publishToMavenLocal :RobotCore:publishToMavenLocal -x :example:build

0 comments on commit 9cfb544

Please sign in to comment.