@@ -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
1514val 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- 155- // }
156- // developer {
157- // id.set("BentsiLeviav")
158- // name.set("Bentsi Leviav")
159- 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- // }
0 commit comments