Commit 9c4b48d8 authored by NicolaiO's avatar NicolaiO 🐼 Committed by TIGERs GitLab
Browse files

Resolve "Do not retrieve game-controller from bintray anymore"

Closes #1585

See merge request main/Sumatra!1331

sumatra-commit: 59de72a490716834109500d9add663175d089179
parent c320c25d
Pipeline #8634 passed with stage
in 3 minutes and 51 seconds
......@@ -8,16 +8,6 @@ plugins {
id 'sumatra.protobuf-conventions'
}
configurations {
gc
}
repositories {
maven {
url "https://dl.bintray.com/robocup-ssl/ssl-game-controller"
}
}
def osClassifier = {
def os = System.getProperty("os.name").toLowerCase()
if (os.contains("windows")) {
......@@ -31,14 +21,6 @@ def osClassifier = {
}
}()
def osExt = {
def os = System.getProperty("os.name").toLowerCase()
if (os.contains("windows")) {
return "exe"
}
return ""
}()
dependencies {
implementation project(':common')
implementation project(':common-math')
......@@ -60,13 +42,5 @@ dependencies {
testImplementation 'junit:junit:4.13'
testImplementation 'org.assertj:assertj-core:3.16.1'
gc "com.github.robocup-ssl:ssl-game-controller:v2.4.0:${osClassifier}@${osExt}"
runtimeOnly "com.github.TIGERs-Mannheim:ssl-game-controller-maven:2.6.2.1:${osClassifier}"
}
task copyGameControllerBinary(type: Copy) {
from configurations.gc.singleFile
into "${buildDir}/resources/main"
rename { "ssl-game-controller" }
}
processResources.finalizedBy(copyGameControllerBinary)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment