Skip to content

Commit

Permalink
New hoptimator-operator-core module (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryannedolan authored May 15, 2023
1 parent 7c8e313 commit 7904541
Show file tree
Hide file tree
Showing 7 changed files with 53 additions and 0 deletions.
51 changes: 51 additions & 0 deletions hoptimator-operator-core/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
plugins {
id 'java-library'
id 'idea'
id 'maven-publish'
}

dependencies {
implementation project(':hoptimator-planner')
implementation project(':hoptimator-catalog')
implementation project(':models')

implementation libs.calciteCore
implementation libs.kubernetesClient
implementation libs.kubernetesExtendedClient
implementation libs.slf4jLog4j

testImplementation libs.junit
testImplementation libs.assertj
}

publishing {
repositories {
maven {
url = "https://maven.pkg.github.com/linkedin/Hoptimator"
credentials {
username = System.getenv('GITHUB_ACTOR')
password = System.getenv('GITHUB_TOKEN')
}
}
}
publications {
maven(MavenPublication) {
groupId = 'com.linkedin.hoptimator'
artifactId = 'hoptimator-operator-core'
version = System.getenv('GITHUB_REF_NAME')
from components.java
}
}
}

tasks.withType(JavaCompile) {
options.compilerArgs << '-Xlint:deprecation'
options.compilerArgs << '-Xlint:unchecked'
}

idea {
module {
downloadJavadoc = true
downloadSources = true
}
}
1 change: 1 addition & 0 deletions hoptimator-operator/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ plugins {
dependencies {
implementation project(':hoptimator-planner')
implementation project(':hoptimator-catalog')
implementation project(':hoptimator-operator-core')
implementation project(':hoptimator-kafka-adapter')
implementation project(':hoptimator-mysql-adapter')
implementation project(':models')
Expand Down
1 change: 1 addition & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ include 'hoptimator-flink-iterator'
include 'hoptimator-flink-runner'
include 'hoptimator-kafka-adapter'
include 'hoptimator-mysql-adapter'
include 'hoptimator-operator-core'
include 'hoptimator-operator'
include 'hoptimator-planner'
include 'models'
Expand Down

0 comments on commit 7904541

Please sign in to comment.