- added gradle build

This commit is contained in:
Roman Tsypuk
2017-12-15 22:45:40 +02:00
parent 910587bad7
commit 181527f54c
2 changed files with 41 additions and 0 deletions

40
build.gradle Normal file
View File

@@ -0,0 +1,40 @@
buildscript {
repositories {
jcenter()
mavenCentral()
}
dependencies {
// classpath 'me.champeau.gradle:antlr4-gradle-plugin:0.1'
}
}
apply plugin: 'java'
apply plugin: 'idea'
repositories {
jcenter()
mavenCentral()
}
sourceCompatibility = 1.8
sourceSets {
main.java.srcDirs 'src/main'
test.java.srcDirs 'src/test'
}
idea {
module {
downloadJavadoc = true
downloadSources = true
}
}
dependencies {
testCompile 'junit:junit:4.12'
testCompile 'org.assertj:assertj-core:3.8.0'
}
task wrapper(type: Wrapper) {
gradleVersion = '4.3.1'
}

1
settings.gradle Normal file
View File

@@ -0,0 +1 @@
rootProject.name = 'sdr-trunk'