Skip to content

Commit 9704257

Browse files
committed
Bump build to latest and add Kotlin to the build to help with converting Java to Kotlin.
1 parent 87478cd commit 9704257

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

durian-swt/build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
apply from: 干.file('base/kotlin.gradle')
2+
13
apply plugin: 'com.diffplug.eclipse.mavencentral'
24
eclipseMavenCentral {
35
release SWT_VERSION, {
@@ -15,6 +17,7 @@ dependencies {
1517
implementation "com.diffplug.durian:durian-concurrent:$VER_DURIAN"
1618
compileOnly 'com.google.code.findbugs:jsr305:3.0.2'
1719
compileOnly 'com.google.code.findbugs:annotations:3.0.1'
20+
compileOnly "org.jetbrains:annotations:23.0.0"
1821

1922
testImplementation "junit:junit:$VER_JUNIT"
2023
testImplementation "org.assertj:assertj-core:$VER_ASSERTJ"

settings.gradle

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@ pluginManagement {
22
plugins {
33
id 'com.diffplug.blowdryer' version '1.5.1'
44
id 'com.diffplug.blowdryerSetup' version '1.5.1'
5-
id 'com.diffplug.eclipse.mavencentral' version '3.35.0'
6-
id 'com.diffplug.spotless' version '6.3.0'
5+
id 'com.diffplug.eclipse.mavencentral' version '3.36.0'
6+
id 'com.diffplug.spotless' version '6.4.1'
77
id 'com.diffplug.spotless-changelog' version '2.4.0'
8-
id 'com.gradle.plugin-publish' version '0.20.0'
8+
id 'com.gradle.plugin-publish' version '0.21.0'
99
id 'io.github.gradle-nexus.publish-plugin' version '1.1.0'
1010
id 'org.jdrupes.mdoclet' version '1.0.10'
11+
id 'org.jetbrains.kotlin.jvm' version '1.6.10'
1112
}
1213
}
1314
plugins {
@@ -18,9 +19,10 @@ plugins {
1819
id 'com.gradle.plugin-publish' apply false
1920
id 'io.github.gradle-nexus.publish-plugin' apply false
2021
id 'org.jdrupes.mdoclet' apply false
22+
id 'org.jetbrains.kotlin.jvm' apply false
2123
}
2224
blowdryerSetup {
23-
github 'diffplug/blowdryer-diffplug', 'tag', '5.2.0'
25+
github 'diffplug/blowdryer-diffplug', 'tag', '5.2.1'
2426
//devLocal '../blowdryer-diffplug'
2527
}
2628

0 commit comments

Comments
 (0)