Skip to content

Commit d13cc0b

Browse files
committed
Clean build.gradle from shared configuration
1 parent 01bd2a6 commit d13cc0b

File tree

2 files changed

+2
-84
lines changed

2 files changed

+2
-84
lines changed

flink-connector-clickhouse-1.17/build.gradle.kts

Lines changed: 1 addition & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -98,47 +98,6 @@ sourceSets {
9898
}
9999
}
100100

101-
// Apply a specific Java toolchain to ease working on different environments.
102-
//java {
103-
// toolchain {
104-
// languageVersion = JavaLanguageVersion.of(11)
105-
// }
106-
//}
107-
108-
//tasks.test {
109-
// useJUnitPlatform()
110-
//
111-
// include("**/*Test.class", "**/*Tests.class", "**/*Spec.class")
112-
// testLogging {
113-
// events("passed", "failed", "skipped")
114-
// //showStandardStreams = true - , "standardOut", "standardError"
115-
// }
116-
//}
117-
//
118-
//tasks.withType<ScalaCompile> {
119-
// scalaCompileOptions.apply {
120-
// encoding = "UTF-8"
121-
// isDeprecation = true
122-
// additionalParameters = listOf("-feature", "-unchecked")
123-
// }
124-
//}
125-
126-
//tasks.named<Test>("test") {
127-
// // Use JUnit Platform for unit tests.
128-
// useJUnitPlatform()
129-
//}
130-
//
131-
//tasks.register<JavaExec>("runScalaTests") {
132-
// group = "verification"
133-
// mainClass.set("org.scalatest.tools.Runner")
134-
// classpath = sourceSets["test"].runtimeClasspath
135-
// args = listOf(
136-
// "-R", "build/classes/scala/test",
137-
// "-oD", // show durations
138-
// "-s", "org.apache.flink.connector.clickhouse.test.scala.ClickHouseSinkTests"
139-
// )
140-
//}
141-
142101
tasks.shadowJar {
143102
archiveClassifier.set("all")
144103

@@ -225,6 +184,6 @@ nmcp {
225184
publish("maven") {
226185
username = System.getenv("NMCP_USERNAME")
227186
password = System.getenv("NMCP_PASSWORD")
228-
publicationType = "AUTOMATIC"
187+
publicationType = "USER_MANAGED"
229188
}
230189
}

flink-connector-clickhouse-2.0.0/build.gradle.kts

Lines changed: 1 addition & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -90,47 +90,6 @@ sourceSets {
9090
}
9191
}
9292
}
93-
//
94-
//// Apply a specific Java toolchain to ease working on different environments.
95-
//java {
96-
// toolchain {
97-
// languageVersion = JavaLanguageVersion.of(11)
98-
// }
99-
//}
100-
101-
//tasks.test {
102-
// useJUnitPlatform()
103-
//
104-
// include("**/*Test.class", "**/*Tests.class", "**/*Spec.class")
105-
// testLogging {
106-
// events("passed", "failed", "skipped")
107-
// //showStandardStreams = true - , "standardOut", "standardError"
108-
// }
109-
//}
110-
//
111-
//tasks.withType<ScalaCompile> {
112-
// scalaCompileOptions.apply {
113-
// encoding = "UTF-8"
114-
// isDeprecation = true
115-
// additionalParameters = listOf("-feature", "-unchecked")
116-
// }
117-
//}
118-
119-
//tasks.named<Test>("test") {
120-
// // Use JUnit Platform for unit tests.
121-
// useJUnitPlatform()
122-
//}
123-
124-
//tasks.register<JavaExec>("runScalaTests") {
125-
// group = "verification"
126-
// mainClass.set("org.scalatest.tools.Runner")
127-
// classpath = sourceSets["test"].runtimeClasspath
128-
// args = listOf(
129-
// "-R", "build/classes/scala/test",
130-
// "-oD", // show durations
131-
// "-s", "org.apache.flink.connector.clickhouse.test.scala.ClickHouseSinkTests"
132-
// )
133-
//}
13493

13594
tasks.shadowJar {
13695
archiveClassifier.set("all")
@@ -218,6 +177,6 @@ nmcp {
218177
publish("maven") {
219178
username = System.getenv("NMCP_USERNAME")
220179
password = System.getenv("NMCP_PASSWORD")
221-
publicationType = "AUTOMATIC"
180+
publicationType = "USER_MANAGED"
222181
}
223182
}

0 commit comments

Comments
 (0)