Updated dependencies.

This commit is contained in:
Erik C. Thauvin 2018-11-02 17:35:02 -07:00
parent 98fe423ee5
commit a502150903
4 changed files with 18 additions and 17 deletions

View file

@ -1,11 +1,10 @@
plugins { plugins {
id 'java' id 'java'
id 'maven-publish' id 'maven-publish'
id "com.jfrog.bintray" version "1.8.3" id "com.jfrog.bintray" version "1.8.4"
id "com.github.ben-manes.versions" version "0.20.0" id "com.github.ben-manes.versions" version "0.20.0"
id "net.thauvin.erik.gradle.semver" version "0.9.5-beta" id "net.thauvin.erik.gradle.semver" version "0.9.8-beta"
id "com.github.spotbugs" version "1.6.2" id "com.github.spotbugs" version "1.6.5"
id "net.ltgt.errorprone" version "0.0.14"
} }
@ -39,7 +38,7 @@ repositories {
dependencies { dependencies {
compile 'com.github.spullara.mustache.java:compiler:0.9.5' compile 'com.github.spullara.mustache.java:compiler:0.9.5'
spotbugsPlugins 'com.h3xstream.findsecbugs:findsecbugs-plugin:1.7.1' compileOnly 'com.github.spotbugs:spotbugs-annotations:3.1.8'
testCompile 'org.testng:testng:6.14.3' testCompile 'org.testng:testng:6.14.3'
} }
@ -149,6 +148,7 @@ tasks.withType(SpotBugsTask) {
} }
excludeFilter = file("$projectDir/config/spotbugs/excludeFilter.xml") excludeFilter = file("$projectDir/config/spotbugs/excludeFilter.xml")
} }
compileJava { compileJava {
options.compilerArgs.add('-proc:none') options.compilerArgs.add('-proc:none')
} }
@ -183,4 +183,4 @@ task pandoc(type: Exec) {
ext.output = { ext.output = {
return standardOutput.toString() return standardOutput.toString()
} }
} }

View file

@ -5,12 +5,12 @@ apply plugin: 'application'
defaultTasks 'run' defaultTasks 'run'
def semverProcessor = 'net.thauvin.erik:semver:1.0.1' def semverProcessor = 'net.thauvin.erik:semver:1.1.0-beta'
sourceCompatibility = 1.8 sourceCompatibility = 1.8
targetCompatibility = 1.8 targetCompatibility = 1.8
compileJava.options.annotationProcessorGeneratedSourcesDirectory = file("${projectDir}/src/generated") compileJava.options.annotationProcessorGeneratedSourcesDirectory = file("${projectDir}/src/generated/java")
mainClassName = 'com.example.Example' mainClassName = 'com.example.Example'
@ -22,4 +22,4 @@ repositories {
dependencies { dependencies {
annotationProcessor semverProcessor annotationProcessor semverProcessor
compileOnly semverProcessor compileOnly semverProcessor
} }

View file

@ -1,7 +1,7 @@
plugins { plugins {
kotlin("jvm") version "1.2.50" kotlin("jvm") version "1.3.0"
application application
id("org.jetbrains.kotlin.kapt") version "1.2.50" id("org.jetbrains.kotlin.kapt") version "1.3.0"
} }
// ./gradlew // ./gradlew
@ -10,7 +10,7 @@ plugins {
defaultTasks(ApplicationPlugin.TASK_RUN_NAME) defaultTasks(ApplicationPlugin.TASK_RUN_NAME)
var semverProcessor = "net.thauvin.erik:semver:1.0.1" var semverProcessor = "net.thauvin.erik:semver:1.1.0-beta"
dependencies { dependencies {
kapt(semverProcessor) kapt(semverProcessor)
@ -29,8 +29,8 @@ application {
} }
tasks { tasks {
val runJava by creating(JavaExec::class) { register("runJava", JavaExec::class) {
main = "com.example.Example" main = "com.example.Example"
classpath = java.sourceSets["main"].runtimeClasspath classpath = sourceSets["main"].runtimeClasspath
} }
} }

View file

@ -75,10 +75,11 @@ val semver = project {
dependencies { dependencies {
compile("com.github.spullara.mustache.java:compiler:0.9.5") compile("com.github.spullara.mustache.java:compiler:0.9.5")
compileOnly("org.jetbrains.kotlin:kotlin-stdlib:1.2.10") compileOnly("org.jetbrains.kotlin:kotlin-stdlib:1.2.10")
compileOnly("com.github.spotbugs:spotbugs-annotations:3.1.8")
} }
dependenciesTest { dependenciesTest {
compile("org.testng:testng:6.13.1") compile("org.testng:testng:6.14.3")
} }
javaCompiler { javaCompiler {
@ -137,4 +138,4 @@ val semver = project {
pom2xml { pom2xml {
} }
} }