Skip to content
Snippets Groups Projects
Commit 064078d4 authored by René Schöne's avatar René Schöne
Browse files

build logic cleanup

- remove jcenter
- do not use "apply plugin"
- put versions use in multiple places in variables
parent 486493ab
No related branches found
No related tags found
1 merge request!1Multiple scenes, multiple robots and more
Pipeline #9990 passed
......@@ -2,6 +2,7 @@ plugins {
id 'ros3rag.java-common-conventions'
id 'java-library'
id 'idea'
id 'org.jastadd'
}
dependencies {
......
jackson_version = 2.12.3
jupiter_version = 5.8.0-M1
assertj_version = 3.19.0
apache_httpcomponents_version = 4.5.8
log4j_version = 2.14.1
protobuf_version = 4.0.0-rc-2
protobuf_plugin_version = 0.8.16
jastadd_gradle_version = 1.13.3
buildscript {
repositories.jcenter()
repositories.mavenCentral()
dependencies {
classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.16'
classpath "com.google.protobuf:protobuf-gradle-plugin:${protobuf_plugin_version}"
}
}
plugins {
id 'ros3rag.java-application-conventions'
id 'java-library'
id "com.google.protobuf" version "${protobuf_plugin_version}"
}
apply plugin: 'com.google.protobuf'
dependencies {
implementation group: 'com.fasterxml.jackson.dataformat', name: 'jackson-dataformat-yaml', version: "${jackson_version}"
api group: 'com.google.protobuf', name: 'protobuf-java', version: "${protobuf_version}"
......
apply plugin: 'jastadd'
dependencies {
// jastadd2 "org.jastadd:jastadd:2.3.5"
jastadd2 fileTree(include: ['jastadd2.jar'], dir: '../libs')
......
buildscript {
repositories.mavenCentral()
dependencies {
classpath group: 'org.jastadd', name: 'jastaddgradle', version: '1.13.3'
classpath group: 'org.jastadd', name: 'jastaddgradle', version: "${jastadd_gradle_version}"
}
}
......
......@@ -2,7 +2,7 @@ buildscript {
repositories.mavenLocal()
repositories.mavenCentral()
dependencies {
classpath group: 'org.jastadd', name: 'jastaddgradle', version: '1.13.3'
classpath group: 'org.jastadd', name: 'jastaddgradle', version: "${jastadd_gradle_version}"
}
}
......
pluginManagement {
plugins {
id 'org.jastadd' version "${jastadd_gradle_version}"
}
}
rootProject.name = 'ros3rag'
include 'ros3rag.placeA'
include 'ros3rag.placeB'
include 'ros3rag.common'
// include 'ros3rag.senderstub'
// include 'ros3rag.receiverstub'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment