Commit 52c40ffa authored by Ekkart Kleinod's avatar Ekkart Kleinod
Browse files

removed old LARC app code

parent 448d9e36
Pipeline #424696347 passed with stage
in 52 seconds
*.iml
.gradle
/local.properties
/.idea/caches
/.idea/libraries
/.idea/modules.xml
/.idea/workspace.xml
/.idea/navEditor.xml
/.idea/assetWizardSettings.xml
.DS_Store
/build
/captures
.externalNativeBuild
<component name="ProjectCodeStyleConfiguration">
<code_scheme name="Project" version="173">
<JetCodeStyleSettings>
<option name="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" />
</JetCodeStyleSettings>
<codeStyleSettings language="kotlin">
<option name="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" />
</codeStyleSettings>
</code_scheme>
</component>
\ No newline at end of file
<component name="ProjectCodeStyleConfiguration">
<state>
<option name="USE_PER_PROJECT_SETTINGS" value="true" />
</state>
</component>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Encoding" addBOMForNewFiles="with NO BOM" />
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="GradleSettings">
<option name="linkedExternalProjectsSettings">
<GradleProjectSettings>
<option name="distributionType" value="DEFAULT_WRAPPED" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="modules">
<set>
<option value="$PROJECT_DIR$" />
<option value="$PROJECT_DIR$/app" />
</set>
</option>
<option name="resolveModulePerSourceSet" value="false" />
</GradleProjectSettings>
</option>
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/build/classes" />
</component>
<component name="ProjectType">
<option name="id" value="Android" />
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="RunConfigurationProducerService">
<option name="ignoredProducers">
<set>
<option value="org.jetbrains.plugins.gradle.execution.test.runner.AllInPackageGradleConfigurationProducer" />
<option value="org.jetbrains.plugins.gradle.execution.test.runner.TestClassGradleConfigurationProducer" />
<option value="org.jetbrains.plugins.gradle.execution.test.runner.TestMethodGradleConfigurationProducer" />
</set>
</option>
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$/.." vcs="Git" />
</component>
</project>
\ No newline at end of file
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-kapt'
android {
compileSdkVersion 29
buildToolsVersion "29.0.0"
defaultConfig {
applicationId "de.edgesoft.larc"
minSdkVersion 24
targetSdkVersion 29
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
javaCompileOptions {
annotationProcessorOptions {
arguments = ["room.schemaLocation": "$projectDir/schemas".toString()]
}
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
packagingOptions {
exclude 'META-INF/atomicfu.kotlin_module'
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'androidx.appcompat:appcompat:1.0.2'
implementation 'androidx.core:core-ktx:1.0.2'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation 'com.google.android.material:material:1.0.0'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test:runner:1.2.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
// Room components
implementation "androidx.room:room-runtime:$rootProject.roomVersion"
implementation "androidx.room:room-ktx:$rootProject.roomVersion"
kapt "androidx.room:room-compiler:$rootProject.roomVersion"
androidTestImplementation "androidx.room:room-testing:$rootProject.roomVersion"
// Lifecycle components
implementation "androidx.lifecycle:lifecycle-extensions:$rootProject.archLifecycleVersion"
kapt "androidx.lifecycle:lifecycle-compiler:$rootProject.archLifecycleVersion"
androidTestImplementation "androidx.arch.core:core-testing:$rootProject.androidxArchVersion"
// ViewModel Kotlin support
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$rootProject.archLifecycleVersion"
// Coroutines
api "org.jetbrains.kotlinx:kotlinx-coroutines-core:$rootProject.coroutines"
api "org.jetbrains.kotlinx:kotlinx-coroutines-android:$rootProject.coroutines"
// navigation
implementation "androidx.navigation:navigation-fragment-ktx:$rootProject.nav_version_ktx"
implementation "androidx.navigation:navigation-ui-ktx:$rootProject.nav_version_ktx"
}
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
{
"formatVersion": 1,
"database": {
"version": 1,
"identityHash": "071401d462826081cc29d68fdcb6c1c9",
"entities": [
{
"tableName": "Brand",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `number` INTEGER, `name` TEXT NOT NULL)",
"fields": [
{
"fieldPath": "id",
"columnName": "id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "number",
"columnName": "number",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "name",
"columnName": "name",
"affinity": "TEXT",
"notNull": true
}
],
"primaryKey": {
"columnNames": [
"id"
],
"autoGenerate": true
},
"indices": [
{
"name": "index_Brand_name",
"unique": true,
"columnNames": [
"name"
],
"createSql": "CREATE UNIQUE INDEX `index_Brand_name` ON `${TABLE_NAME}` (`name`)"
},
{
"name": "index_Brand_number",
"unique": true,
"columnNames": [
"number"
],
"createSql": "CREATE UNIQUE INDEX `index_Brand_number` ON `${TABLE_NAME}` (`number`)"
}
],
"foreignKeys": []
},
{
"tableName": "Color",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `name` TEXT NOT NULL, `color` TEXT NOT NULL)",
"fields": [
{
"fieldPath": "id",
"columnName": "id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "name",
"columnName": "name",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "color",
"columnName": "color",
"affinity": "TEXT",
"notNull": true
}
],
"primaryKey": {
"columnNames": [
"id"
],
"autoGenerate": true
},
"indices": [
{
"name": "index_Color_name",
"unique": false,
"columnNames": [
"name"
],
"createSql": "CREATE INDEX `index_Color_name` ON `${TABLE_NAME}` (`name`)"
}
],
"foreignKeys": []
},
{
"tableName": "Covering",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `number` INTEGER, `name` TEXT NOT NULL, `brandId` INTEGER NOT NULL, `pimpleTypeId` INTEGER NOT NULL, `validTo` TEXT, FOREIGN KEY(`pimpleTypeId`) REFERENCES `PimpleType`(`id`) ON UPDATE NO ACTION ON DELETE NO ACTION , FOREIGN KEY(`brandId`) REFERENCES `Brand`(`id`) ON UPDATE NO ACTION ON DELETE NO ACTION )",
"fields": [
{
"fieldPath": "id",
"columnName": "id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "number",
"columnName": "number",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "name",
"columnName": "name",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "brandId",
"columnName": "brandId",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "pimpleTypeId",
"columnName": "pimpleTypeId",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "validTo",
"columnName": "validTo",
"affinity": "TEXT",
"notNull": false
}
],
"primaryKey": {
"columnNames": [
"id"
],
"autoGenerate": true
},
"indices": [
{
"name": "index_Covering_name",
"unique": false,
"columnNames": [
"name"
],
"createSql": "CREATE INDEX `index_Covering_name` ON `${TABLE_NAME}` (`name`)"
},
{
"name": "index_Covering_pimpleTypeId",
"unique": false,
"columnNames": [
"pimpleTypeId"
],
"createSql": "CREATE INDEX `index_Covering_pimpleTypeId` ON `${TABLE_NAME}` (`pimpleTypeId`)"
},
{
"name": "index_Covering_brandId",
"unique": false,
"columnNames": [
"brandId"
],
"createSql": "CREATE INDEX `index_Covering_brandId` ON `${TABLE_NAME}` (`brandId`)"
}
],
"foreignKeys": [
{
"table": "PimpleType",
"onDelete": "NO ACTION",
"onUpdate": "NO ACTION",
"columns": [
"pimpleTypeId"
],
"referencedColumns": [
"id"
]
},
{
"table": "Brand",
"onDelete": "NO ACTION",
"onUpdate": "NO ACTION",
"columns": [
"brandId"
],
"referencedColumns": [
"id"
]
}
]
},
{
"tableName": "CoveringColorJoin",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`coveringId` INTEGER NOT NULL, `colorId` INTEGER NOT NULL, PRIMARY KEY(`coveringId`, `colorId`), FOREIGN KEY(`coveringId`) REFERENCES `Covering`(`id`) ON UPDATE NO ACTION ON DELETE NO ACTION , FOREIGN KEY(`colorId`) REFERENCES `Color`(`id`) ON UPDATE NO ACTION ON DELETE NO ACTION )",
"fields": [
{
"fieldPath": "coveringId",
"columnName": "coveringId",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "colorId",
"columnName": "colorId",
"affinity": "INTEGER",
"notNull": true
}
],
"primaryKey": {
"columnNames": [
"coveringId",
"colorId"
],
"autoGenerate": false
},
"indices": [
{
"name": "index_CoveringColorJoin_coveringId",
"unique": false,
"columnNames": [
"coveringId"
],
"createSql": "CREATE INDEX `index_CoveringColorJoin_coveringId` ON `${TABLE_NAME}` (`coveringId`)"
},
{
"name": "index_CoveringColorJoin_colorId",
"unique": false,
"columnNames": [
"colorId"
],
"createSql": "CREATE INDEX `index_CoveringColorJoin_colorId` ON `${TABLE_NAME}` (`colorId`)"
}
],
"foreignKeys": [
{
"table": "Covering",
"onDelete": "NO ACTION",
"onUpdate": "NO ACTION",
"columns": [
"coveringId"
],
"referencedColumns": [
"id"
]
},
{
"table": "Color",
"onDelete": "NO ACTION",
"onUpdate": "NO ACTION",
"columns": [
"colorId"
],
"referencedColumns": [
"id"
]
}
]
},
{
"tableName": "CoveringLARCJoin",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`coveringId` INTEGER NOT NULL, `larcId` INTEGER NOT NULL, PRIMARY KEY(`coveringId`, `larcId`), FOREIGN KEY(`coveringId`) REFERENCES `Covering`(`id`) ON UPDATE NO ACTION ON DELETE NO ACTION , FOREIGN KEY(`larcId`) REFERENCES `LARC`(`id`) ON UPDATE NO ACTION ON DELETE NO ACTION )",
"fields": [
{
"fieldPath": "coveringId",
"columnName": "coveringId",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "larcId",
"columnName": "larcId",
"affinity": "INTEGER",
"notNull": true
}
],
"primaryKey": {
"columnNames": [
"coveringId",
"larcId"
],
"autoGenerate": false
},
"indices": [
{
"name": "index_CoveringLARCJoin_coveringId",
"unique": false,
"columnNames": [
"coveringId"
],
"createSql": "CREATE INDEX `index_CoveringLARCJoin_coveringId` ON `${TABLE_NAME}` (`coveringId`)"
},
{
"name": "index_CoveringLARCJoin_larcId",
"unique": false,
"columnNames": [
"larcId"
],
"createSql": "CREATE INDEX `index_CoveringLARCJoin_larcId` ON `${TABLE_NAME}` (`larcId`)"
}
],
"foreignKeys": [
{
"table": "Covering",
"onDelete": "NO ACTION",
"onUpdate": "NO ACTION",
"columns": [
"coveringId"
],
"referencedColumns": [
"id"
]
},
{
"table": "LARC",
"onDelete": "NO ACTION",
"onUpdate": "NO ACTION",
"columns": [
"larcId"
],
"referencedColumns": [
"id"
]
}
]
},
{
"tableName": "LARC",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `internalName` TEXT NOT NULL, `officialName` TEXT NOT NULL, `validFrom` TEXT NOT NULL, `validTo` TEXT NOT NULL)",
"fields": [
{
"fieldPath": "id",
"columnName": "id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "internalName",
"columnName": "internalName",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "officialName",
"columnName": "officialName",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "validFrom",
"columnName": "validFrom",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "validTo",
"columnName": "validTo",
"affinity": "TEXT",
"notNull": true
}
],
"primaryKey": {
"columnNames": [
"id"
],
"autoGenerate": true
},
"indices": [
{
"name": "index_LARC_internalName",
"unique": false,
"columnNames": [
"internalName"
],
"createSql": "CREATE INDEX `index_LARC_internalName` ON `${TABLE_NAME}` (`internalName`)"
},
{
"name": "index_LARC_officialName",
"unique": false,
"columnNames": [
"officialName"
],
"createSql": "CREATE INDEX `index_LARC_officialName` ON `${TABLE_NAME}` (`officialName`)"
},
{
"name": "index_LARC_validFrom",
"unique": false,
"columnNames": [
"validFrom"
],
"createSql": "CREATE INDEX `index_LARC_validFrom` ON `${TABLE_NAME}` (`validFrom`)"
},
{
"name": "index_LARC_validTo",
"unique": false,
"columnNames": [
"validTo"
],
"createSql": "CREATE INDEX `index_LARC_validTo` ON `${TABLE_NAME}` (`validTo`)"
}
],
"foreignKeys": []