Rudi Schlatte 3f75c54bee Extract KubeVela analysis to separate library
The static methods in the new class
`eu.nebulouscloud.optimiser.kubevela.KubevelaAnalyzer` are used by
multiple components in the NebulOuS Solver.

Create a library `nebulous-requirements-extractor` that houses this
class.

Adapt the container build job to run at project root, not inside the
`nebulous-controller` subdirectory.

Add jobs for library build and repository upload.

Change-Id: Ic61c7064d216201031659bc362e3ed218f9c2b67
2024-02-29 15:48:09 +01:00

62 lines
1.7 KiB
Groovy

/*
* This file was generated by the Gradle 'init' task.
*
* This project uses @Incubating APIs which are subject to change.
*/
plugins {
// Apply the java-library plugin for API and implementation separation.
id 'java-library'
// Use this to check for newer versions of dependency libraries via
// ./gradlew dependencyUpdates
id "com.github.ben-manes.versions" version "0.50.0"
// https://docs.freefair.io/gradle-plugins/8.4/reference/#_lombok
id "io.freefair.lombok" version "8.4"
}
repositories {
// Use Maven Central for resolving dependencies.
mavenCentral()
// 7bulls, activeeon maven repositories for SAL
maven {
url 'http://repository.activeeon.com/content/groups/proactive/'
allowInsecureProtocol = true
}
}
dependencies {
// JSON parsing; exported to consumers
// https://github.com/FasterXML/jackson
api 'com.fasterxml.jackson.core:jackson-databind:2.16.1'
// SAL client library; exported to consumers
api 'org.ow2.proactive:sal-common:13.1.0-SNAPSHOT'
// YAML parsing: https://github.com/FasterXML/jackson-dataformats-text
implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.16.1'
// Logging (only the API; backends will be set up by the application)
implementation 'org.slf4j:slf4j-api:1.7.32'
}
testing {
suites {
// Configure the built-in test suite
test {
// Use JUnit Jupiter test framework
useJUnitJupiter('5.10.0')
}
}
}
// Apply a specific Java toolchain to ease working on different environments.
java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}
group = 'eu.nebulouscloud'
version = '1.0'