Skip to content

Commit c277bec

Browse files
committed
Clean build.gradle.kts
1 parent 4e86383 commit c277bec

File tree

3 files changed

+1
-155
lines changed

3 files changed

+1
-155
lines changed

build.gradle.kts

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ plugins {
44
signing
55
id("com.gradleup.nmcp") version "0.0.8"
66
id("com.gradleup.shadow") version "9.0.2"
7-
// id("com.github.johnrengelman.shadow") version "8.1.1"
8-
97
}
108

119
val sinkVersion by extra("0.0.1")
@@ -76,23 +74,4 @@ subprojects {
7674
"-s", "org.apache.flink.connector.clickhouse.test.scala.ClickHouseSinkTests"
7775
)
7876
}
79-
}
80-
81-
//sourceSets {
82-
// main {
83-
// scala {
84-
// srcDirs("src/main/scala")
85-
// }
86-
// java {
87-
// srcDirs("src/main/java")
88-
// }
89-
// }
90-
// test {
91-
// scala {
92-
// srcDirs("src/test/scala")
93-
// }
94-
// java {
95-
// srcDirs("src/test/java")
96-
// }
97-
// }
98-
//}
77+
}

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

Lines changed: 0 additions & 132 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ plugins {
99
signing
1010
`java-test-fixtures`
1111
id("com.gradleup.nmcp") version "0.0.8"
12-
// id("com.github.johnrengelman.shadow") version "8.1.1"
1312
}
1413

1514
val scalaVersion = "2.13.12"
@@ -64,134 +63,3 @@ sourceSets {
6463
}
6564
}
6665
}
67-
68-
// Apply a specific Java toolchain to ease working on different environments.
69-
//java {
70-
// toolchain {
71-
// languageVersion = JavaLanguageVersion.of(11)
72-
// }
73-
//}
74-
75-
//tasks.test {
76-
// useJUnitPlatform()
77-
//
78-
// include("**/*Test.class", "**/*Tests.class", "**/*Spec.class")
79-
// testLogging {
80-
// events("passed", "failed", "skipped")
81-
// //showStandardStreams = true - , "standardOut", "standardError"
82-
// }
83-
//}
84-
//
85-
//tasks.withType<ScalaCompile> {
86-
// scalaCompileOptions.apply {
87-
// encoding = "UTF-8"
88-
// isDeprecation = true
89-
// additionalParameters = listOf("-feature", "-unchecked")
90-
// }
91-
//}
92-
//
93-
//tasks.named<Test>("test") {
94-
// // Use JUnit Platform for unit tests.
95-
// useJUnitPlatform()
96-
//}
97-
//
98-
//tasks.register<JavaExec>("runScalaTests") {
99-
// group = "verification"
100-
// mainClass.set("org.scalatest.tools.Runner")
101-
// classpath = sourceSets["test"].runtimeClasspath
102-
// args = listOf(
103-
// "-R", "build/classes/scala/test",
104-
// "-oD", // show durations
105-
// "-s", "org.apache.flink.connector.clickhouse.test.scala.ClickHouseSinkTests"
106-
// )
107-
//}
108-
//
109-
//tasks.shadowJar {
110-
// archiveClassifier.set("all")
111-
112-
// dependencies {
113-
// exclude(dependency("org.apache.flink:.*"))
114-
// }
115-
// mergeServiceFiles()
116-
//}
117-
118-
//val shadowSourcesJar by tasks.registering(Jar::class) {
119-
// archiveClassifier.set("all-sources")
120-
// from(sourceSets.main.get().allSource)
121-
// duplicatesStrategy = DuplicatesStrategy.EXCLUDE
122-
//}
123-
124-
//tasks.jar {
125-
// enabled = false
126-
//}
127-
128-
//publishing {
129-
// publications {
130-
// create<MavenPublication>("maven") {
131-
// artifact(tasks.shadowJar)
132-
// groupId = "com.clickhouse.flink"
133-
// artifactId = "flink-connector-clickhouse-base"
134-
// version = sinkVersion
135-
//
136-
// artifact(shadowSourcesJar)
137-
//
138-
// pom {
139-
// name.set("ClickHouse Flink Connector")
140-
// description.set("Official Apache Flink connector for ClickHouse")
141-
// url.set("https://github.com/ClickHouse/flink-connector-clickhouse")
142-
//
143-
// licenses {
144-
// license {
145-
// name.set("The Apache License, Version 2.0")
146-
// url.set("https://github.com/ClickHouse/flink-connector-clickhouse/blob/main/LICENSE")
147-
// }
148-
// }
149-
//
150-
// developers {
151-
// developer {
152-
// id.set("mzitnik")
153-
// name.set("Mark Zitnik")
154-
// email.set("[email protected]")
155-
// }
156-
// developer {
157-
// id.set("BentsiLeviav")
158-
// name.set("Bentsi Leviav")
159-
// email.set("[email protected]")
160-
// }
161-
// }
162-
//
163-
// scm {
164-
// connection.set("[email protected]:ClickHouse/flink-connector-clickhouse.git")
165-
// url.set("https://github.com/ClickHouse/flink-connector-clickhouse")
166-
// }
167-
//
168-
// organization {
169-
// name.set("ClickHouse")
170-
// url.set("https://clickhouse.com")
171-
// }
172-
//
173-
// issueManagement {
174-
// system.set("GitHub Issues")
175-
// url.set("https://github.com/ClickHouse/flink-connector-clickhouse/issues")
176-
// }
177-
// }
178-
// }
179-
// }
180-
//}
181-
//
182-
//signing {
183-
// val signingKey = System.getenv("SIGNING_KEY")
184-
// val signingPassword = System.getenv("SIGNING_PASSWORD")
185-
// if (signingKey != null && signingPassword != null) {
186-
// useInMemoryPgpKeys(signingKey, signingPassword)
187-
// sign(publishing.publications["maven"])
188-
// }
189-
//}
190-
//
191-
//nmcp {
192-
// publish("maven") {
193-
// username = System.getenv("NMCP_USERNAME")
194-
// password = System.getenv("NMCP_PASSWORD")
195-
// publicationType = "AUTOMATIC"
196-
// }
197-
//}

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ plugins {
88
java
99
signing
1010
id("com.gradleup.nmcp") version "0.0.8"
11-
// id("com.github.johnrengelman.shadow") version "8.1.1"
1211
}
1312

1413
val scalaVersion = "2.13.12"

0 commit comments

Comments
 (0)