Skip to content
This repository was archived by the owner on Mar 11, 2024. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ tmp
*.class
*.iml
*.swp
*.jar
*.log
.DS_Store
_site
Expand All @@ -24,3 +23,12 @@ flink-runtime-web/web-dashboard/node_modules/
flink-runtime-web/web-dashboard/bower_components/
atlassian-ide-plugin.xml
bin

# Gradle
# ------
.gradle
/build
/buildSrc/build
/flinkspector*/build
/flinkspector*/docs/src/samples/*/*/build
/flinkspector*/subprojects/internal-android-performance-testing/build-android-libs
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ jdk:
before_script:
- "echo $JAVA_OPTS"
- "export JAVA_OPTS=-Xmx2048m"
sudo: required
62 changes: 62 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
allprojects {
apply plugin: 'maven'
apply plugin: 'scala'

group = 'org.flinkspector'
version = '0.7.2-SNAPSHOT'
}

subprojects {
apply plugin: 'java'
sourceCompatibility = 1.8
targetCompatibility = 1.8
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}

task packageSources(type: Jar) {
classifier = 'sources'
from sourceSets.main.allSource

task scalaTest(dependsOn: ['testClasses'], type: JavaExec) {
main = 'org.scalatest.tools.Runner'
args = ['-R', 'build/classes/scala/test', '-o']
jvmArgs = ['-Xms1024m']
maxHeapSize = '2048m'
classpath = sourceSets.test.runtimeClasspath
}

test.dependsOn scalaTest

}




artifacts.archives packageSources
repositories {
mavenLocal()

maven { url "http://repo.maven.apache.org/maven2" }
maven {
url "https://plugins.gradle.org/m2/"
}
}



dependencies {
compile 'org.scala-lang:scala-library:2.11.11'
compile group: 'com.lmax', name: 'disruptor', version:'3.3.6'
compile group: 'org.apache.flink', name: 'flink-runtime_2.11', version:'1.3.1'
compile group: 'org.apache.flink', name: 'flink-test-utils_2.11', version:'1.3.1'
compile group: 'com.google.guava', name: 'guava', version:'18.0'
compile group: 'junit', name: 'junit', version:'4.11'
compile group: 'org.scalatest', name: 'scalatest_2.11', version:'3.0.2'
testCompile "junit:junit:4.11"
testCompile group: 'org.hamcrest', name: 'hamcrest-all', version:'1.3'
testCompile group: 'org.mockito', name: 'mockito-all', version:'1.9.5'
}


}
14 changes: 14 additions & 0 deletions flinkspector-core/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@

description = 'flinkspector-core'

sourceSets {
main {
scala {
srcDirs = ['src/main/scala', 'src/main/java']
}
java {
srcDirs = []
}
}
}

174 changes: 0 additions & 174 deletions flinkspector-core/pom.xml

This file was deleted.

18 changes: 18 additions & 0 deletions flinkspector-dataset/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
sourceSets {
main {
scala {
srcDirs = ['src/main/scala', 'src/main/java']
}
java {
srcDirs = []
}
}
}



description = 'flinkspector-dataset'
dependencies {
compile project(':flinkspector-core_2.11')
compile group: 'org.apache.flink', name: 'flink-java', version:'1.3.1'
}
Loading