Skip to content

Commit 7904541

Browse files
authored
New hoptimator-operator-core module (#12)
1 parent 7c8e313 commit 7904541

File tree

7 files changed

+53
-0
lines changed

7 files changed

+53
-0
lines changed
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
plugins {
2+
id 'java-library'
3+
id 'idea'
4+
id 'maven-publish'
5+
}
6+
7+
dependencies {
8+
implementation project(':hoptimator-planner')
9+
implementation project(':hoptimator-catalog')
10+
implementation project(':models')
11+
12+
implementation libs.calciteCore
13+
implementation libs.kubernetesClient
14+
implementation libs.kubernetesExtendedClient
15+
implementation libs.slf4jLog4j
16+
17+
testImplementation libs.junit
18+
testImplementation libs.assertj
19+
}
20+
21+
publishing {
22+
repositories {
23+
maven {
24+
url = "https://maven.pkg.github.com/linkedin/Hoptimator"
25+
credentials {
26+
username = System.getenv('GITHUB_ACTOR')
27+
password = System.getenv('GITHUB_TOKEN')
28+
}
29+
}
30+
}
31+
publications {
32+
maven(MavenPublication) {
33+
groupId = 'com.linkedin.hoptimator'
34+
artifactId = 'hoptimator-operator-core'
35+
version = System.getenv('GITHUB_REF_NAME')
36+
from components.java
37+
}
38+
}
39+
}
40+
41+
tasks.withType(JavaCompile) {
42+
options.compilerArgs << '-Xlint:deprecation'
43+
options.compilerArgs << '-Xlint:unchecked'
44+
}
45+
46+
idea {
47+
module {
48+
downloadJavadoc = true
49+
downloadSources = true
50+
}
51+
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

hoptimator-operator/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ plugins {
88
dependencies {
99
implementation project(':hoptimator-planner')
1010
implementation project(':hoptimator-catalog')
11+
implementation project(':hoptimator-operator-core')
1112
implementation project(':hoptimator-kafka-adapter')
1213
implementation project(':hoptimator-mysql-adapter')
1314
implementation project(':models')

settings.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ include 'hoptimator-flink-iterator'
77
include 'hoptimator-flink-runner'
88
include 'hoptimator-kafka-adapter'
99
include 'hoptimator-mysql-adapter'
10+
include 'hoptimator-operator-core'
1011
include 'hoptimator-operator'
1112
include 'hoptimator-planner'
1213
include 'models'

0 commit comments

Comments
 (0)