Skip to content

Commit 8edaba9

Browse files
committed
Add simple test for checking that OS is detecting the running vs native arch correctly.
1 parent 23d0e37 commit 8edaba9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ subprojects { subProject ->
4343
compileOnly 'com.google.code.findbugs:jsr305:3.0.2'
4444
testImplementation "junit:junit:$VER_JUNIT"
4545
}
46+
tasks.register('osMain', JavaExec) {
47+
classpath = sourceSets.main.runtimeClasspath
48+
main = 'com.diffplug.common.swt.os.OS'
49+
}
4650
} else {
4751
apply plugin: 'com.diffplug.gradle.eclipse.mavencentral'
4852
String platformCode = project.name.substring('durian-swt.'.length())

0 commit comments

Comments
 (0)