Skip to content

Commit ad06be9

Browse files
committed
Initial work
0 parents  commit ad06be9

22 files changed

+1208
-0
lines changed

.gitignore

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
# Compiled class file
2+
*.class
3+
4+
# Log file
5+
*.log
6+
7+
# Package Files
8+
*.jar
9+
*.war
10+
*.nar
11+
*.ear
12+
*.zip
13+
*.tar.gz
14+
*.rar
15+
16+
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
17+
hs_err_pid*
18+
19+
# Gradle config
20+
.gradle
21+
/build/
22+
23+
# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
24+
!gradle-wrapper.jar
25+
26+
# User-specific stuff
27+
.idea/**/workspace.xml
28+
.idea/**/kotlinc.xml
29+
.idea/**/tasks.xml
30+
.idea/**/usage.statistics.xml
31+
.idea/**/dictionaries
32+
.idea/**/shelf
33+
34+
# Generated files
35+
.idea/**/contentModel.xml
36+
37+
# Sensitive or high-churn files
38+
.idea/**/dataSources/
39+
.idea/**/dataSources.ids
40+
.idea/**/dataSources.local.xml
41+
.idea/**/sqlDataSources.xml
42+
.idea/**/dynamic.xml
43+
.idea/**/uiDesigner.xml
44+
.idea/**/dbnavigator.xml
45+
46+
# Gradle
47+
.idea/**/gradle.xml
48+
.idea/**/libraries
49+
50+
# Gradle and Maven with auto-import
51+
.idea/modules.xml
52+
.idea/*.iml
53+
.idea/modules
54+
55+
# File-based project format
56+
*.iws
57+
58+
# IntelliJ
59+
out/
60+
61+
# JIRA plugin
62+
atlassian-ide-plugin.xml
63+
64+
# Editor-based Rest Client
65+
.idea/httpRequests
66+
67+
# Operate tooling
68+
package/tmp
69+
70+
.DS_Store
71+
/.jqwik-database

.idea/.gitignore

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

LICENSE

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
Copyright (c) 2021-2022 Timothée Peignier <[email protected]>
2+
3+
MIT License
4+
5+
Permission is hereby granted, free of charge, to any person obtaining
6+
a copy of this software and associated documentation files (the
7+
"Software"), to deal in the Software without restriction, including
8+
without limitation the rights to use, copy, modify, merge, publish,
9+
distribute, sublicense, and/or sell copies of the Software, and to
10+
permit persons to whom the Software is furnished to do so, subject to
11+
the following conditions:
12+
13+
The above copyright notice and this permission notice shall be
14+
included in all copies or substantial portions of the Software.
15+
16+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

build.gradle.kts

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
plugins {
2+
kotlin("jvm") version "1.7.20"
3+
`java-library`
4+
`maven-publish`
5+
6+
id("org.jmailen.kotlinter") version "3.12.0"
7+
id("org.jetbrains.dokka") version "1.7.20"
8+
}
9+
10+
group = "com.lapanthere"
11+
12+
repositories {
13+
mavenCentral()
14+
}
15+
16+
dependencies {
17+
implementation(kotlin("reflect"))
18+
19+
implementation("org.apache.flink:flink-core:1.13.2")
20+
implementation("org.apache.flink:flink-core:1.13.2:tests")
21+
implementation("org.apache.flink:flink-test-utils-junit:1.13.2")
22+
23+
testImplementation(platform("org.junit:junit-bom:5.9.1"))
24+
testImplementation("org.junit.jupiter:junit-jupiter")
25+
testImplementation("org.junit.vintage:junit-vintage-engine")
26+
}
27+
28+
tasks.register<Jar>("sourcesJar") {
29+
archiveClassifier.set("sources")
30+
from(sourceSets.main.get().allSource)
31+
}
32+
33+
kotlin {
34+
explicitApi()
35+
}
36+
37+
kotlinter {
38+
disabledRules = arrayOf("import-ordering")
39+
}
40+
41+
publishing {
42+
repositories {
43+
maven {
44+
name = "Github"
45+
url = uri("https://maven.pkg.github.com/cyberdelia/flink-kotlin")
46+
credentials {
47+
username = System.getenv("GITHUB_ACTOR")
48+
password = System.getenv("GITHUB_TOKEN")
49+
}
50+
}
51+
}
52+
53+
publications {
54+
create<MavenPublication>("default") {
55+
from(components["java"])
56+
artifact(tasks["sourcesJar"])
57+
pom {
58+
name.set("flink-kotlin")
59+
description.set("Kotlin extensions for Apache Flink")
60+
url.set("https://github.com/cyberdelia/flink-kotlin")
61+
scm {
62+
connection.set("scm:git:git://github.com/cyberdelia/flink-kotlin.git")
63+
developerConnection.set("scm:git:ssh://github.com/cyberdelia/flink-kotlin.git")
64+
url.set("https://github.com/cyberdelia/flink-kotlin")
65+
}
66+
}
67+
}
68+
}
69+
}

gradle/wrapper/gradle-wrapper.jar

58.4 KB
Binary file not shown.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
distributionBase=GRADLE_USER_HOME
2+
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip
4+
zipStoreBase=GRADLE_USER_HOME
5+
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)