From 4b2f6fb84a35d8f72f34b9accddfb767d5383a96 Mon Sep 17 00:00:00 2001 From: Walter Huf Date: Sat, 23 Mar 2024 14:37:04 -0700 Subject: [PATCH] Move project into a submodule --- build.gradle | 123 +----------------- core/build.gradle | 117 +++++++++++++++++ .../idriveconnectkit/CDSProperty.kt | 0 .../idriveconnectkit/IDriveConnection.kt | 0 .../idriveconnectkit/RHMIDimensions.kt | 0 .../bimmergestalt/idriveconnectkit/Utils.kt | 0 .../idriveconnectkit/rhmi/RHMIAction.kt | 0 .../rhmi/RHMIActionCallbacks.kt | 0 .../idriveconnectkit/rhmi/RHMIApplication.kt | 0 .../rhmi/RHMIApplicationWrappers.kt | 0 .../idriveconnectkit/rhmi/RHMIComponent.kt | 0 .../idriveconnectkit/rhmi/RHMIEvent.kt | 0 .../rhmi/RHMIEventCallbacks.kt | 0 .../idriveconnectkit/rhmi/RHMIModel.kt | 0 .../idriveconnectkit/rhmi/RHMIProperty.kt | 0 .../idriveconnectkit/rhmi/RHMIState.kt | 0 .../rhmi/mocking/MockApplication.kt | 0 .../idriveconnectkit/xmlutils/XMLUtils.kt | 0 .../idriveconnectkit/TestCDSProperty.kt | 0 .../idriveconnectkit/TestComponentEvents.kt | 0 .../idriveconnectkit/TestIDriveConnection.kt | 0 .../idriveconnectkit/TestRHMIApplication.kt | 0 .../TestRHMIApplicationIdempotent.kt | 0 .../TestRHMIApplicationSynchronized.kt | 0 .../idriveconnectkit/TestRHMIDimensions.kt | 0 .../idriveconnectkit/TestUtils.kt | 0 .../idriveconnectkit/TestXMLParsing.kt | 0 .../src}/test/resources/ui_layout.xml | 0 settings.gradle | 1 + 29 files changed, 122 insertions(+), 119 deletions(-) create mode 100644 core/build.gradle rename {src => core/src}/main/java/io/bimmergestalt/idriveconnectkit/CDSProperty.kt (100%) rename {src => core/src}/main/java/io/bimmergestalt/idriveconnectkit/IDriveConnection.kt (100%) rename {src => core/src}/main/java/io/bimmergestalt/idriveconnectkit/RHMIDimensions.kt (100%) rename {src => core/src}/main/java/io/bimmergestalt/idriveconnectkit/Utils.kt (100%) rename {src => core/src}/main/java/io/bimmergestalt/idriveconnectkit/rhmi/RHMIAction.kt (100%) rename {src => core/src}/main/java/io/bimmergestalt/idriveconnectkit/rhmi/RHMIActionCallbacks.kt (100%) rename {src => core/src}/main/java/io/bimmergestalt/idriveconnectkit/rhmi/RHMIApplication.kt (100%) rename {src => core/src}/main/java/io/bimmergestalt/idriveconnectkit/rhmi/RHMIApplicationWrappers.kt (100%) rename {src => core/src}/main/java/io/bimmergestalt/idriveconnectkit/rhmi/RHMIComponent.kt (100%) rename {src => core/src}/main/java/io/bimmergestalt/idriveconnectkit/rhmi/RHMIEvent.kt (100%) rename {src => core/src}/main/java/io/bimmergestalt/idriveconnectkit/rhmi/RHMIEventCallbacks.kt (100%) rename {src => core/src}/main/java/io/bimmergestalt/idriveconnectkit/rhmi/RHMIModel.kt (100%) rename {src => core/src}/main/java/io/bimmergestalt/idriveconnectkit/rhmi/RHMIProperty.kt (100%) rename {src => core/src}/main/java/io/bimmergestalt/idriveconnectkit/rhmi/RHMIState.kt (100%) rename {src => core/src}/main/java/io/bimmergestalt/idriveconnectkit/rhmi/mocking/MockApplication.kt (100%) rename {src => core/src}/main/java/io/bimmergestalt/idriveconnectkit/xmlutils/XMLUtils.kt (100%) rename {src => core/src}/test/java/io/bimmergestalt/idriveconnectkit/TestCDSProperty.kt (100%) rename {src => core/src}/test/java/io/bimmergestalt/idriveconnectkit/TestComponentEvents.kt (100%) rename {src => core/src}/test/java/io/bimmergestalt/idriveconnectkit/TestIDriveConnection.kt (100%) rename {src => core/src}/test/java/io/bimmergestalt/idriveconnectkit/TestRHMIApplication.kt (100%) rename {src => core/src}/test/java/io/bimmergestalt/idriveconnectkit/TestRHMIApplicationIdempotent.kt (100%) rename {src => core/src}/test/java/io/bimmergestalt/idriveconnectkit/TestRHMIApplicationSynchronized.kt (100%) rename {src => core/src}/test/java/io/bimmergestalt/idriveconnectkit/TestRHMIDimensions.kt (100%) rename {src => core/src}/test/java/io/bimmergestalt/idriveconnectkit/TestUtils.kt (100%) rename {src => core/src}/test/java/io/bimmergestalt/idriveconnectkit/TestXMLParsing.kt (100%) rename {src => core/src}/test/resources/ui_layout.xml (100%) create mode 100644 settings.gradle diff --git a/build.gradle b/build.gradle index f5e3a6a..adb0893 100644 --- a/build.gradle +++ b/build.gradle @@ -1,5 +1,3 @@ -import de.undercouch.gradle.tasks.download.Download -import de.undercouch.gradle.tasks.download.Verify buildscript { ext.kotlin_version = '1.9.0' @@ -12,121 +10,8 @@ buildscript { } } -plugins { - id 'com.github.kt3k.coveralls' version '2.12.2' - id 'de.undercouch.download' version "5.6.0" -} -apply from: 'buildtools/ColoredOutput.gradle' -apply from: 'buildtools/jacoco.gradle' -apply plugin: 'java-library' -apply plugin: 'kotlin' -apply plugin: 'maven-publish' - -repositories { - mavenCentral() -} - -dependencies { - api fileTree(include: ['*.jar'], dir: 'libs') - implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" - testImplementation "org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version" -} - -sourceSets { - main.java.srcDirs += 'build/generated' - test.java.srcDirs += 'src/test/java' -} - -sourceCompatibility = "1.8" -targetCompatibility = "1.8" - -def isRunningOnJitpack = System.getenv("JITPACK") == "true" -tasks.register('downloadEtchCompiler', Download) { - if (isRunningOnJitpack) - // can't connect to archive.apache.org - // https://github.com/jitpack/jitpack.io/issues/4995 - src 'https://bimmergestalt.s3.amazonaws.com/aaidrive/external/apache-etch-1.4.0-windows-x86-bin.zip' - else - src 'https://archive.apache.org/dist/etch/1.4.0/apache-etch-1.4.0-windows-x86-bin.zip' - dest file("${buildDir}/etch/apache-etch-1.4.0-windows-x86-bin.zip") - overwrite false - outputs.file "${buildDir}/etch/apache-etch-1.4.0-windows-x86-bin.zip" -} -tasks.register('verifyEtchCompiler', Verify) { - dependsOn downloadEtchCompiler - src file("${buildDir}/etch/apache-etch-1.4.0-windows-x86-bin.zip") - algorithm "SHA-512" - checksum "915128A2E6E6FA83F4A576EBAC4DA5A250EC6F3BEB11C76404664B5067CFD94703531219" + - "6CAB6BB6EF96EEB765E39A87E11E774A59257E7932F2D3761CAE0354" -} -tasks.register('extractEtchCompiler', Copy) { - dependsOn verifyEtchCompiler - from zipTree(file("${buildDir}/etch/apache-etch-1.4.0-windows-x86-bin.zip")) - into "${buildDir}/etch" - outputs.dir "${buildDir}/etch/apache-etch-1.4.0" -} -tasks.register('compileEtch', JavaExec) { - dependsOn extractEtchCompiler - main "org.apache.etch.compiler.EtchMain" - classpath files( - "${buildDir}/etch/apache-etch-1.4.0/lib/apache-etch-compiler-1.4.0.jar", - "${buildDir}/etch/apache-etch-1.4.0/lib/apache-etch-java-compiler-1.4.0.jar", - "${buildDir}/etch/apache-etch-1.4.0/lib/velocity-1.7-dep.jar" - ) - workingDir 'etch' - args('--binding', 'java', '--output-dir', "${buildDir}/generated", 'BMWRemoting.etch') - inputs.file("etch/BMWRemoting.etch") - outputs.dir "${buildDir}/generated" -} -tasks.register('enableEtchRuntime', Copy) { - dependsOn extractEtchCompiler - from "${buildDir}/etch/apache-etch-1.4.0/binding-java/lib" - include '*.jar' - into file("libs/") -} -tasks.register('extractEtchRuntime', Copy) { - dependsOn enableEtchRuntime - from zipTree(file("libs/apache-etch-java-runtime-1.4.0.jar")) - include '**/*.class' - includeEmptyDirs false - into "${buildDir}/classes/java/main" - outputs.dir "${buildDir}/classes/java/main/org/apache/etch" -} -compileJava.dependsOn extractEtchRuntime -compileJava.mustRunAfter extractEtchRuntime -compileJava.dependsOn compileEtch -compileJava.dependsOn extractEtchRuntime -compileJava.mustRunAfter compileEtch -compileJava.mustRunAfter enableEtchRuntime -compileKotlin.dependsOn extractEtchRuntime -compileKotlin.mustRunAfter extractEtchRuntime -compileKotlin.dependsOn compileEtch -compileKotlin.dependsOn enableEtchRuntime -compileKotlin.mustRunAfter compileEtch -compileKotlin.mustRunAfter enableEtchRuntime - -// https://youtrack.jetbrains.com/issue/IDEA-119280 -tasks.register('copyTestResources', Copy) { - from "${projectDir}/src/test/resources" - into "${buildDir}/classes/test" -} -tasks.register('copyTestResourcesOut', Copy) { - from "${projectDir}/src/test/resources" - into "${buildDir}/../out/test/classes" -} -// doesn't seem to actually work, you should run this step manually -processTestResources.dependsOn copyTestResources -processTestResources.dependsOn copyTestResourcesOut - -publishing { - publications { - maven(MavenPublication) { - // publish to Jitpack - groupId 'io.bimmergestalt' - artifactId 'IDriveConnectKit' - version '0.6' - - from components.java - } +allprojects { + repositories { + mavenCentral() } -} +} \ No newline at end of file diff --git a/core/build.gradle b/core/build.gradle new file mode 100644 index 0000000..de41137 --- /dev/null +++ b/core/build.gradle @@ -0,0 +1,117 @@ +import de.undercouch.gradle.tasks.download.Download +import de.undercouch.gradle.tasks.download.Verify + +plugins { + id 'com.github.kt3k.coveralls' version '2.12.2' + id 'de.undercouch.download' version "5.6.0" +} +apply from: '../buildtools/ColoredOutput.gradle' +apply from: '../buildtools/jacoco.gradle' +apply plugin: 'java-library' +apply plugin: 'kotlin' +apply plugin: 'maven-publish' + +dependencies { + api fileTree(include: ['*.jar'], dir: 'libs') + implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" + testImplementation "org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version" +} + +sourceSets { + main.java.srcDirs += 'build/generated' + test.java.srcDirs += 'src/test/java' +} + +sourceCompatibility = "1.8" +targetCompatibility = "1.8" + +def isRunningOnJitpack = System.getenv("JITPACK") == "true" +tasks.register('downloadEtchCompiler', Download) { + if (isRunningOnJitpack) + // can't connect to archive.apache.org + // https://github.com/jitpack/jitpack.io/issues/4995 + src 'https://bimmergestalt.s3.amazonaws.com/aaidrive/external/apache-etch-1.4.0-windows-x86-bin.zip' + else + src 'https://archive.apache.org/dist/etch/1.4.0/apache-etch-1.4.0-windows-x86-bin.zip' + dest file("${buildDir}/etch/apache-etch-1.4.0-windows-x86-bin.zip") + overwrite false + outputs.file "${buildDir}/etch/apache-etch-1.4.0-windows-x86-bin.zip" +} +tasks.register('verifyEtchCompiler', Verify) { + dependsOn downloadEtchCompiler + src file("${buildDir}/etch/apache-etch-1.4.0-windows-x86-bin.zip") + algorithm "SHA-512" + checksum "915128A2E6E6FA83F4A576EBAC4DA5A250EC6F3BEB11C76404664B5067CFD94703531219" + + "6CAB6BB6EF96EEB765E39A87E11E774A59257E7932F2D3761CAE0354" +} +tasks.register('extractEtchCompiler', Copy) { + dependsOn verifyEtchCompiler + from zipTree(file("${buildDir}/etch/apache-etch-1.4.0-windows-x86-bin.zip")) + into "${buildDir}/etch" + outputs.dir "${buildDir}/etch/apache-etch-1.4.0" +} +tasks.register('compileEtch', JavaExec) { + dependsOn extractEtchCompiler + main "org.apache.etch.compiler.EtchMain" + classpath files( + "${buildDir}/etch/apache-etch-1.4.0/lib/apache-etch-compiler-1.4.0.jar", + "${buildDir}/etch/apache-etch-1.4.0/lib/apache-etch-java-compiler-1.4.0.jar", + "${buildDir}/etch/apache-etch-1.4.0/lib/velocity-1.7-dep.jar" + ) + workingDir "${rootDir}/etch" + args('--binding', 'java', '--output-dir', "${buildDir}/generated", 'BMWRemoting.etch') + inputs.file("${rootDir}/etch/BMWRemoting.etch") + outputs.dir "${buildDir}/generated" +} +tasks.register('enableEtchRuntime', Copy) { + dependsOn extractEtchCompiler + from "${buildDir}/etch/apache-etch-1.4.0/binding-java/lib" + include '*.jar' + into file("libs/") +} +tasks.register('extractEtchRuntime', Copy) { + dependsOn enableEtchRuntime + from zipTree(file("libs/apache-etch-java-runtime-1.4.0.jar")) + include '**/*.class' + includeEmptyDirs false + into "${buildDir}/classes/java/main" + outputs.dir "${buildDir}/classes/java/main/org/apache/etch" +} +compileJava.dependsOn extractEtchRuntime +compileJava.mustRunAfter extractEtchRuntime +compileJava.dependsOn compileEtch +compileJava.dependsOn extractEtchRuntime +compileJava.mustRunAfter compileEtch +compileJava.mustRunAfter enableEtchRuntime +compileKotlin.dependsOn extractEtchRuntime +compileKotlin.mustRunAfter extractEtchRuntime +compileKotlin.dependsOn compileEtch +compileKotlin.dependsOn enableEtchRuntime +compileKotlin.mustRunAfter compileEtch +compileKotlin.mustRunAfter enableEtchRuntime + +// https://youtrack.jetbrains.com/issue/IDEA-119280 +tasks.register('copyTestResources', Copy) { + from "${projectDir}/src/test/resources" + into "${buildDir}/classes/test" +} +tasks.register('copyTestResourcesOut', Copy) { + from "${projectDir}/src/test/resources" + into "${buildDir}/../out/test/classes" +} +// doesn't seem to actually work, you should run this step manually +processTestResources.dependsOn copyTestResources +processTestResources.dependsOn copyTestResourcesOut + +publishing { + publications { + maven(MavenPublication) { + // publish to Jitpack + groupId 'io.bimmergestalt' + artifactId 'IDriveConnectKit' + version '0.6' + + from components.java + } + } +} diff --git a/src/main/java/io/bimmergestalt/idriveconnectkit/CDSProperty.kt b/core/src/main/java/io/bimmergestalt/idriveconnectkit/CDSProperty.kt similarity index 100% rename from src/main/java/io/bimmergestalt/idriveconnectkit/CDSProperty.kt rename to core/src/main/java/io/bimmergestalt/idriveconnectkit/CDSProperty.kt diff --git a/src/main/java/io/bimmergestalt/idriveconnectkit/IDriveConnection.kt b/core/src/main/java/io/bimmergestalt/idriveconnectkit/IDriveConnection.kt similarity index 100% rename from src/main/java/io/bimmergestalt/idriveconnectkit/IDriveConnection.kt rename to core/src/main/java/io/bimmergestalt/idriveconnectkit/IDriveConnection.kt diff --git a/src/main/java/io/bimmergestalt/idriveconnectkit/RHMIDimensions.kt b/core/src/main/java/io/bimmergestalt/idriveconnectkit/RHMIDimensions.kt similarity index 100% rename from src/main/java/io/bimmergestalt/idriveconnectkit/RHMIDimensions.kt rename to core/src/main/java/io/bimmergestalt/idriveconnectkit/RHMIDimensions.kt diff --git a/src/main/java/io/bimmergestalt/idriveconnectkit/Utils.kt b/core/src/main/java/io/bimmergestalt/idriveconnectkit/Utils.kt similarity index 100% rename from src/main/java/io/bimmergestalt/idriveconnectkit/Utils.kt rename to core/src/main/java/io/bimmergestalt/idriveconnectkit/Utils.kt diff --git a/src/main/java/io/bimmergestalt/idriveconnectkit/rhmi/RHMIAction.kt b/core/src/main/java/io/bimmergestalt/idriveconnectkit/rhmi/RHMIAction.kt similarity index 100% rename from src/main/java/io/bimmergestalt/idriveconnectkit/rhmi/RHMIAction.kt rename to core/src/main/java/io/bimmergestalt/idriveconnectkit/rhmi/RHMIAction.kt diff --git a/src/main/java/io/bimmergestalt/idriveconnectkit/rhmi/RHMIActionCallbacks.kt b/core/src/main/java/io/bimmergestalt/idriveconnectkit/rhmi/RHMIActionCallbacks.kt similarity index 100% rename from src/main/java/io/bimmergestalt/idriveconnectkit/rhmi/RHMIActionCallbacks.kt rename to core/src/main/java/io/bimmergestalt/idriveconnectkit/rhmi/RHMIActionCallbacks.kt diff --git a/src/main/java/io/bimmergestalt/idriveconnectkit/rhmi/RHMIApplication.kt b/core/src/main/java/io/bimmergestalt/idriveconnectkit/rhmi/RHMIApplication.kt similarity index 100% rename from src/main/java/io/bimmergestalt/idriveconnectkit/rhmi/RHMIApplication.kt rename to core/src/main/java/io/bimmergestalt/idriveconnectkit/rhmi/RHMIApplication.kt diff --git a/src/main/java/io/bimmergestalt/idriveconnectkit/rhmi/RHMIApplicationWrappers.kt b/core/src/main/java/io/bimmergestalt/idriveconnectkit/rhmi/RHMIApplicationWrappers.kt similarity index 100% rename from src/main/java/io/bimmergestalt/idriveconnectkit/rhmi/RHMIApplicationWrappers.kt rename to core/src/main/java/io/bimmergestalt/idriveconnectkit/rhmi/RHMIApplicationWrappers.kt diff --git a/src/main/java/io/bimmergestalt/idriveconnectkit/rhmi/RHMIComponent.kt b/core/src/main/java/io/bimmergestalt/idriveconnectkit/rhmi/RHMIComponent.kt similarity index 100% rename from src/main/java/io/bimmergestalt/idriveconnectkit/rhmi/RHMIComponent.kt rename to core/src/main/java/io/bimmergestalt/idriveconnectkit/rhmi/RHMIComponent.kt diff --git a/src/main/java/io/bimmergestalt/idriveconnectkit/rhmi/RHMIEvent.kt b/core/src/main/java/io/bimmergestalt/idriveconnectkit/rhmi/RHMIEvent.kt similarity index 100% rename from src/main/java/io/bimmergestalt/idriveconnectkit/rhmi/RHMIEvent.kt rename to core/src/main/java/io/bimmergestalt/idriveconnectkit/rhmi/RHMIEvent.kt diff --git a/src/main/java/io/bimmergestalt/idriveconnectkit/rhmi/RHMIEventCallbacks.kt b/core/src/main/java/io/bimmergestalt/idriveconnectkit/rhmi/RHMIEventCallbacks.kt similarity index 100% rename from src/main/java/io/bimmergestalt/idriveconnectkit/rhmi/RHMIEventCallbacks.kt rename to core/src/main/java/io/bimmergestalt/idriveconnectkit/rhmi/RHMIEventCallbacks.kt diff --git a/src/main/java/io/bimmergestalt/idriveconnectkit/rhmi/RHMIModel.kt b/core/src/main/java/io/bimmergestalt/idriveconnectkit/rhmi/RHMIModel.kt similarity index 100% rename from src/main/java/io/bimmergestalt/idriveconnectkit/rhmi/RHMIModel.kt rename to core/src/main/java/io/bimmergestalt/idriveconnectkit/rhmi/RHMIModel.kt diff --git a/src/main/java/io/bimmergestalt/idriveconnectkit/rhmi/RHMIProperty.kt b/core/src/main/java/io/bimmergestalt/idriveconnectkit/rhmi/RHMIProperty.kt similarity index 100% rename from src/main/java/io/bimmergestalt/idriveconnectkit/rhmi/RHMIProperty.kt rename to core/src/main/java/io/bimmergestalt/idriveconnectkit/rhmi/RHMIProperty.kt diff --git a/src/main/java/io/bimmergestalt/idriveconnectkit/rhmi/RHMIState.kt b/core/src/main/java/io/bimmergestalt/idriveconnectkit/rhmi/RHMIState.kt similarity index 100% rename from src/main/java/io/bimmergestalt/idriveconnectkit/rhmi/RHMIState.kt rename to core/src/main/java/io/bimmergestalt/idriveconnectkit/rhmi/RHMIState.kt diff --git a/src/main/java/io/bimmergestalt/idriveconnectkit/rhmi/mocking/MockApplication.kt b/core/src/main/java/io/bimmergestalt/idriveconnectkit/rhmi/mocking/MockApplication.kt similarity index 100% rename from src/main/java/io/bimmergestalt/idriveconnectkit/rhmi/mocking/MockApplication.kt rename to core/src/main/java/io/bimmergestalt/idriveconnectkit/rhmi/mocking/MockApplication.kt diff --git a/src/main/java/io/bimmergestalt/idriveconnectkit/xmlutils/XMLUtils.kt b/core/src/main/java/io/bimmergestalt/idriveconnectkit/xmlutils/XMLUtils.kt similarity index 100% rename from src/main/java/io/bimmergestalt/idriveconnectkit/xmlutils/XMLUtils.kt rename to core/src/main/java/io/bimmergestalt/idriveconnectkit/xmlutils/XMLUtils.kt diff --git a/src/test/java/io/bimmergestalt/idriveconnectkit/TestCDSProperty.kt b/core/src/test/java/io/bimmergestalt/idriveconnectkit/TestCDSProperty.kt similarity index 100% rename from src/test/java/io/bimmergestalt/idriveconnectkit/TestCDSProperty.kt rename to core/src/test/java/io/bimmergestalt/idriveconnectkit/TestCDSProperty.kt diff --git a/src/test/java/io/bimmergestalt/idriveconnectkit/TestComponentEvents.kt b/core/src/test/java/io/bimmergestalt/idriveconnectkit/TestComponentEvents.kt similarity index 100% rename from src/test/java/io/bimmergestalt/idriveconnectkit/TestComponentEvents.kt rename to core/src/test/java/io/bimmergestalt/idriveconnectkit/TestComponentEvents.kt diff --git a/src/test/java/io/bimmergestalt/idriveconnectkit/TestIDriveConnection.kt b/core/src/test/java/io/bimmergestalt/idriveconnectkit/TestIDriveConnection.kt similarity index 100% rename from src/test/java/io/bimmergestalt/idriveconnectkit/TestIDriveConnection.kt rename to core/src/test/java/io/bimmergestalt/idriveconnectkit/TestIDriveConnection.kt diff --git a/src/test/java/io/bimmergestalt/idriveconnectkit/TestRHMIApplication.kt b/core/src/test/java/io/bimmergestalt/idriveconnectkit/TestRHMIApplication.kt similarity index 100% rename from src/test/java/io/bimmergestalt/idriveconnectkit/TestRHMIApplication.kt rename to core/src/test/java/io/bimmergestalt/idriveconnectkit/TestRHMIApplication.kt diff --git a/src/test/java/io/bimmergestalt/idriveconnectkit/TestRHMIApplicationIdempotent.kt b/core/src/test/java/io/bimmergestalt/idriveconnectkit/TestRHMIApplicationIdempotent.kt similarity index 100% rename from src/test/java/io/bimmergestalt/idriveconnectkit/TestRHMIApplicationIdempotent.kt rename to core/src/test/java/io/bimmergestalt/idriveconnectkit/TestRHMIApplicationIdempotent.kt diff --git a/src/test/java/io/bimmergestalt/idriveconnectkit/TestRHMIApplicationSynchronized.kt b/core/src/test/java/io/bimmergestalt/idriveconnectkit/TestRHMIApplicationSynchronized.kt similarity index 100% rename from src/test/java/io/bimmergestalt/idriveconnectkit/TestRHMIApplicationSynchronized.kt rename to core/src/test/java/io/bimmergestalt/idriveconnectkit/TestRHMIApplicationSynchronized.kt diff --git a/src/test/java/io/bimmergestalt/idriveconnectkit/TestRHMIDimensions.kt b/core/src/test/java/io/bimmergestalt/idriveconnectkit/TestRHMIDimensions.kt similarity index 100% rename from src/test/java/io/bimmergestalt/idriveconnectkit/TestRHMIDimensions.kt rename to core/src/test/java/io/bimmergestalt/idriveconnectkit/TestRHMIDimensions.kt diff --git a/src/test/java/io/bimmergestalt/idriveconnectkit/TestUtils.kt b/core/src/test/java/io/bimmergestalt/idriveconnectkit/TestUtils.kt similarity index 100% rename from src/test/java/io/bimmergestalt/idriveconnectkit/TestUtils.kt rename to core/src/test/java/io/bimmergestalt/idriveconnectkit/TestUtils.kt diff --git a/src/test/java/io/bimmergestalt/idriveconnectkit/TestXMLParsing.kt b/core/src/test/java/io/bimmergestalt/idriveconnectkit/TestXMLParsing.kt similarity index 100% rename from src/test/java/io/bimmergestalt/idriveconnectkit/TestXMLParsing.kt rename to core/src/test/java/io/bimmergestalt/idriveconnectkit/TestXMLParsing.kt diff --git a/src/test/resources/ui_layout.xml b/core/src/test/resources/ui_layout.xml similarity index 100% rename from src/test/resources/ui_layout.xml rename to core/src/test/resources/ui_layout.xml diff --git a/settings.gradle b/settings.gradle new file mode 100644 index 0000000..211eb40 --- /dev/null +++ b/settings.gradle @@ -0,0 +1 @@ +include ':core' \ No newline at end of file