From debcf56ab44d485f26133cf74909d3de672acf28 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste <87148630+Jean-BaptisteC@users.noreply.github.com> Date: Sat, 30 Mar 2024 11:08:11 +0100 Subject: [PATCH] Remove old files (#35) --- app/build_BACKUP_2537.gradle | 121 ------------------ app/build_BACKUP_2948.gradle | 121 ------------------ app/build_BACKUP_3178.gradle | 121 ------------------ app/build_BACKUP_3356.gradle | 121 ------------------ app/build_BASE_2537.gradle | 117 ----------------- app/build_BASE_2948.gradle | 117 ----------------- app/build_BASE_3178.gradle | 117 ----------------- app/build_BASE_3356.gradle | 117 ----------------- app/build_LOCAL_2537.gradle | 117 ----------------- app/build_LOCAL_2948.gradle | 117 ----------------- app/build_LOCAL_3178.gradle | 117 ----------------- app/build_LOCAL_3356.gradle | 117 ----------------- app/build_REMOTE_2537.gradle | 117 ----------------- app/build_REMOTE_2948.gradle | 117 ----------------- app/build_REMOTE_3178.gradle | 117 ----------------- app/build_REMOTE_3356.gradle | 117 ----------------- .../prerelease/output-metadata.json | 20 --- app/src/main/res/mipmap-anydpi | 0 18 files changed, 1908 deletions(-) delete mode 100644 app/build_BACKUP_2537.gradle delete mode 100644 app/build_BACKUP_2948.gradle delete mode 100644 app/build_BACKUP_3178.gradle delete mode 100644 app/build_BACKUP_3356.gradle delete mode 100644 app/build_BASE_2537.gradle delete mode 100644 app/build_BASE_2948.gradle delete mode 100644 app/build_BASE_3178.gradle delete mode 100644 app/build_BASE_3356.gradle delete mode 100644 app/build_LOCAL_2537.gradle delete mode 100644 app/build_LOCAL_2948.gradle delete mode 100644 app/build_LOCAL_3178.gradle delete mode 100644 app/build_LOCAL_3356.gradle delete mode 100644 app/build_REMOTE_2537.gradle delete mode 100644 app/build_REMOTE_2948.gradle delete mode 100644 app/build_REMOTE_3178.gradle delete mode 100644 app/build_REMOTE_3356.gradle delete mode 100644 app/preproduct/prerelease/output-metadata.json delete mode 100644 app/src/main/res/mipmap-anydpi diff --git a/app/build_BACKUP_2537.gradle b/app/build_BACKUP_2537.gradle deleted file mode 100644 index 9314be9..0000000 --- a/app/build_BACKUP_2537.gradle +++ /dev/null @@ -1,121 +0,0 @@ -//noinspection GradleCompatible -apply plugin: 'com.android.application' - -// Try reading secrets from file -def secretsPropertiesFile = rootProject.file("secrets.properties") -def secretProperties = new Properties() - -if (secretsPropertiesFile.exists()) { - secretProperties.load(new FileInputStream(secretsPropertiesFile)) -} -// Otherwise read from environment variables, this happens in CI -else { - secretProperties.setProperty("signing_keystore_password", "${System.getenv('signing_keystore_password')}") - secretProperties.setProperty("signing_key_password", "${System.getenv('signing_key_password')}") - secretProperties.setProperty("signing_key_alias", "${System.getenv('signing_key_alias')}") -} - -android { - signingConfigs { - release { - storeFile rootProject.file("android-signing-keystore.jks") - storePassword secretProperties['signing_keystore_password'] - keyAlias secretProperties['signing_release_alias_key'] - keyPassword secretProperties['signing_release_key_password'] - } - prerelease { - storeFile rootProject.file("android-signing-keystore.jks") - storePassword secretProperties['signing_keystore_password'] - keyAlias secretProperties['signing_pre-release_key_alias'] - keyPassword secretProperties['signing_pre-release_key_password'] - } - } - compileSdkVersion 31 - - defaultConfig { - applicationId "net.foucry.pilldroid" - minSdkVersion defaultMinSdkVersion - targetSdkVersion defaultTargetSdkVersion - versionCode 100 - versionName "v0.100-beta" - multiDexEnabled true - } - - buildTypes { - debug { - minifyEnabled false - debuggable true - applicationIdSuffix ".debug" - } - release { - minifyEnabled true - proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' - debuggable false - signingConfig signingConfigs.release - } - prerelease { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' - debuggable false - signingConfig signingConfigs.prerelease - } - } - flavorDimensions "version" - productFlavors { - dev { - resValue "string", "app_name", "PillDroid dev" - dimension ="version" - } - - product { - resValue "string", "app_name", "PillDroid" - dimension ="version" - } - preproduct { - resValue "string", "app_name", "PillDroid Pre-Release" - dimension ="version" - } - } - - compileOptions { - sourceCompatibility JavaVersion.VERSION_11 - targetCompatibility JavaVersion.VERSION_11 - } - - buildToolsVersion '32.0.0' - - allprojects { - tasks.withType(JavaCompile) { - options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation" - } - } -} - -repositories { - mavenCentral() -} -sourceSets { - main { - java { - exclude 'net/foucry/pilldroid/scanActivity.java' - } - } -} -dependencies { - implementation fileTree(include: ['*.jar'], dir: 'libs') - testImplementation 'junit:junit:4.13.2' - -<<<<<<< HEAD - implementation 'androidx.appcompat:appcompat:1.4.1' -======= - implementation 'androidx.appcompat:appcompat:1.4.0' ->>>>>>> 5fe29e5 (Change compileSskVersion) - implementation 'androidx.recyclerview:recyclerview:1.2.1' - implementation 'com.google.android.material:material:1.5.0' - implementation 'androidx.legacy:legacy-support-v4:1.0.0' - - implementation 'com.journeyapps:zxing-android-embedded:4.3.0' - implementation 'androidx.core:core:1.7.0' - - coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5' -} diff --git a/app/build_BACKUP_2948.gradle b/app/build_BACKUP_2948.gradle deleted file mode 100644 index 9314be9..0000000 --- a/app/build_BACKUP_2948.gradle +++ /dev/null @@ -1,121 +0,0 @@ -//noinspection GradleCompatible -apply plugin: 'com.android.application' - -// Try reading secrets from file -def secretsPropertiesFile = rootProject.file("secrets.properties") -def secretProperties = new Properties() - -if (secretsPropertiesFile.exists()) { - secretProperties.load(new FileInputStream(secretsPropertiesFile)) -} -// Otherwise read from environment variables, this happens in CI -else { - secretProperties.setProperty("signing_keystore_password", "${System.getenv('signing_keystore_password')}") - secretProperties.setProperty("signing_key_password", "${System.getenv('signing_key_password')}") - secretProperties.setProperty("signing_key_alias", "${System.getenv('signing_key_alias')}") -} - -android { - signingConfigs { - release { - storeFile rootProject.file("android-signing-keystore.jks") - storePassword secretProperties['signing_keystore_password'] - keyAlias secretProperties['signing_release_alias_key'] - keyPassword secretProperties['signing_release_key_password'] - } - prerelease { - storeFile rootProject.file("android-signing-keystore.jks") - storePassword secretProperties['signing_keystore_password'] - keyAlias secretProperties['signing_pre-release_key_alias'] - keyPassword secretProperties['signing_pre-release_key_password'] - } - } - compileSdkVersion 31 - - defaultConfig { - applicationId "net.foucry.pilldroid" - minSdkVersion defaultMinSdkVersion - targetSdkVersion defaultTargetSdkVersion - versionCode 100 - versionName "v0.100-beta" - multiDexEnabled true - } - - buildTypes { - debug { - minifyEnabled false - debuggable true - applicationIdSuffix ".debug" - } - release { - minifyEnabled true - proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' - debuggable false - signingConfig signingConfigs.release - } - prerelease { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' - debuggable false - signingConfig signingConfigs.prerelease - } - } - flavorDimensions "version" - productFlavors { - dev { - resValue "string", "app_name", "PillDroid dev" - dimension ="version" - } - - product { - resValue "string", "app_name", "PillDroid" - dimension ="version" - } - preproduct { - resValue "string", "app_name", "PillDroid Pre-Release" - dimension ="version" - } - } - - compileOptions { - sourceCompatibility JavaVersion.VERSION_11 - targetCompatibility JavaVersion.VERSION_11 - } - - buildToolsVersion '32.0.0' - - allprojects { - tasks.withType(JavaCompile) { - options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation" - } - } -} - -repositories { - mavenCentral() -} -sourceSets { - main { - java { - exclude 'net/foucry/pilldroid/scanActivity.java' - } - } -} -dependencies { - implementation fileTree(include: ['*.jar'], dir: 'libs') - testImplementation 'junit:junit:4.13.2' - -<<<<<<< HEAD - implementation 'androidx.appcompat:appcompat:1.4.1' -======= - implementation 'androidx.appcompat:appcompat:1.4.0' ->>>>>>> 5fe29e5 (Change compileSskVersion) - implementation 'androidx.recyclerview:recyclerview:1.2.1' - implementation 'com.google.android.material:material:1.5.0' - implementation 'androidx.legacy:legacy-support-v4:1.0.0' - - implementation 'com.journeyapps:zxing-android-embedded:4.3.0' - implementation 'androidx.core:core:1.7.0' - - coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5' -} diff --git a/app/build_BACKUP_3178.gradle b/app/build_BACKUP_3178.gradle deleted file mode 100644 index 9314be9..0000000 --- a/app/build_BACKUP_3178.gradle +++ /dev/null @@ -1,121 +0,0 @@ -//noinspection GradleCompatible -apply plugin: 'com.android.application' - -// Try reading secrets from file -def secretsPropertiesFile = rootProject.file("secrets.properties") -def secretProperties = new Properties() - -if (secretsPropertiesFile.exists()) { - secretProperties.load(new FileInputStream(secretsPropertiesFile)) -} -// Otherwise read from environment variables, this happens in CI -else { - secretProperties.setProperty("signing_keystore_password", "${System.getenv('signing_keystore_password')}") - secretProperties.setProperty("signing_key_password", "${System.getenv('signing_key_password')}") - secretProperties.setProperty("signing_key_alias", "${System.getenv('signing_key_alias')}") -} - -android { - signingConfigs { - release { - storeFile rootProject.file("android-signing-keystore.jks") - storePassword secretProperties['signing_keystore_password'] - keyAlias secretProperties['signing_release_alias_key'] - keyPassword secretProperties['signing_release_key_password'] - } - prerelease { - storeFile rootProject.file("android-signing-keystore.jks") - storePassword secretProperties['signing_keystore_password'] - keyAlias secretProperties['signing_pre-release_key_alias'] - keyPassword secretProperties['signing_pre-release_key_password'] - } - } - compileSdkVersion 31 - - defaultConfig { - applicationId "net.foucry.pilldroid" - minSdkVersion defaultMinSdkVersion - targetSdkVersion defaultTargetSdkVersion - versionCode 100 - versionName "v0.100-beta" - multiDexEnabled true - } - - buildTypes { - debug { - minifyEnabled false - debuggable true - applicationIdSuffix ".debug" - } - release { - minifyEnabled true - proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' - debuggable false - signingConfig signingConfigs.release - } - prerelease { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' - debuggable false - signingConfig signingConfigs.prerelease - } - } - flavorDimensions "version" - productFlavors { - dev { - resValue "string", "app_name", "PillDroid dev" - dimension ="version" - } - - product { - resValue "string", "app_name", "PillDroid" - dimension ="version" - } - preproduct { - resValue "string", "app_name", "PillDroid Pre-Release" - dimension ="version" - } - } - - compileOptions { - sourceCompatibility JavaVersion.VERSION_11 - targetCompatibility JavaVersion.VERSION_11 - } - - buildToolsVersion '32.0.0' - - allprojects { - tasks.withType(JavaCompile) { - options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation" - } - } -} - -repositories { - mavenCentral() -} -sourceSets { - main { - java { - exclude 'net/foucry/pilldroid/scanActivity.java' - } - } -} -dependencies { - implementation fileTree(include: ['*.jar'], dir: 'libs') - testImplementation 'junit:junit:4.13.2' - -<<<<<<< HEAD - implementation 'androidx.appcompat:appcompat:1.4.1' -======= - implementation 'androidx.appcompat:appcompat:1.4.0' ->>>>>>> 5fe29e5 (Change compileSskVersion) - implementation 'androidx.recyclerview:recyclerview:1.2.1' - implementation 'com.google.android.material:material:1.5.0' - implementation 'androidx.legacy:legacy-support-v4:1.0.0' - - implementation 'com.journeyapps:zxing-android-embedded:4.3.0' - implementation 'androidx.core:core:1.7.0' - - coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5' -} diff --git a/app/build_BACKUP_3356.gradle b/app/build_BACKUP_3356.gradle deleted file mode 100644 index 9314be9..0000000 --- a/app/build_BACKUP_3356.gradle +++ /dev/null @@ -1,121 +0,0 @@ -//noinspection GradleCompatible -apply plugin: 'com.android.application' - -// Try reading secrets from file -def secretsPropertiesFile = rootProject.file("secrets.properties") -def secretProperties = new Properties() - -if (secretsPropertiesFile.exists()) { - secretProperties.load(new FileInputStream(secretsPropertiesFile)) -} -// Otherwise read from environment variables, this happens in CI -else { - secretProperties.setProperty("signing_keystore_password", "${System.getenv('signing_keystore_password')}") - secretProperties.setProperty("signing_key_password", "${System.getenv('signing_key_password')}") - secretProperties.setProperty("signing_key_alias", "${System.getenv('signing_key_alias')}") -} - -android { - signingConfigs { - release { - storeFile rootProject.file("android-signing-keystore.jks") - storePassword secretProperties['signing_keystore_password'] - keyAlias secretProperties['signing_release_alias_key'] - keyPassword secretProperties['signing_release_key_password'] - } - prerelease { - storeFile rootProject.file("android-signing-keystore.jks") - storePassword secretProperties['signing_keystore_password'] - keyAlias secretProperties['signing_pre-release_key_alias'] - keyPassword secretProperties['signing_pre-release_key_password'] - } - } - compileSdkVersion 31 - - defaultConfig { - applicationId "net.foucry.pilldroid" - minSdkVersion defaultMinSdkVersion - targetSdkVersion defaultTargetSdkVersion - versionCode 100 - versionName "v0.100-beta" - multiDexEnabled true - } - - buildTypes { - debug { - minifyEnabled false - debuggable true - applicationIdSuffix ".debug" - } - release { - minifyEnabled true - proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' - debuggable false - signingConfig signingConfigs.release - } - prerelease { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' - debuggable false - signingConfig signingConfigs.prerelease - } - } - flavorDimensions "version" - productFlavors { - dev { - resValue "string", "app_name", "PillDroid dev" - dimension ="version" - } - - product { - resValue "string", "app_name", "PillDroid" - dimension ="version" - } - preproduct { - resValue "string", "app_name", "PillDroid Pre-Release" - dimension ="version" - } - } - - compileOptions { - sourceCompatibility JavaVersion.VERSION_11 - targetCompatibility JavaVersion.VERSION_11 - } - - buildToolsVersion '32.0.0' - - allprojects { - tasks.withType(JavaCompile) { - options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation" - } - } -} - -repositories { - mavenCentral() -} -sourceSets { - main { - java { - exclude 'net/foucry/pilldroid/scanActivity.java' - } - } -} -dependencies { - implementation fileTree(include: ['*.jar'], dir: 'libs') - testImplementation 'junit:junit:4.13.2' - -<<<<<<< HEAD - implementation 'androidx.appcompat:appcompat:1.4.1' -======= - implementation 'androidx.appcompat:appcompat:1.4.0' ->>>>>>> 5fe29e5 (Change compileSskVersion) - implementation 'androidx.recyclerview:recyclerview:1.2.1' - implementation 'com.google.android.material:material:1.5.0' - implementation 'androidx.legacy:legacy-support-v4:1.0.0' - - implementation 'com.journeyapps:zxing-android-embedded:4.3.0' - implementation 'androidx.core:core:1.7.0' - - coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5' -} diff --git a/app/build_BASE_2537.gradle b/app/build_BASE_2537.gradle deleted file mode 100644 index 4abead4..0000000 --- a/app/build_BASE_2537.gradle +++ /dev/null @@ -1,117 +0,0 @@ -//noinspection GradleCompatible -apply plugin: 'com.android.application' - -// Try reading secrets from file -def secretsPropertiesFile = rootProject.file("secrets.properties") -def secretProperties = new Properties() - -if (secretsPropertiesFile.exists()) { - secretProperties.load(new FileInputStream(secretsPropertiesFile)) -} -// Otherwise read from environment variables, this happens in CI -else { - secretProperties.setProperty("signing_keystore_password", "${System.getenv('signing_keystore_password')}") - secretProperties.setProperty("signing_key_password", "${System.getenv('signing_key_password')}") - secretProperties.setProperty("signing_key_alias", "${System.getenv('signing_key_alias')}") -} - -android { - signingConfigs { - release { - storeFile rootProject.file("android-signing-keystore.jks") - storePassword secretProperties['signing_keystore_password'] - keyAlias secretProperties['signing_release_alias_key'] - keyPassword secretProperties['signing_release_key_password'] - } - prerelease { - storeFile rootProject.file("android-signing-keystore.jks") - storePassword secretProperties['signing_keystore_password'] - keyAlias secretProperties['signing_pre-release_key_alias'] - keyPassword secretProperties['signing_pre-release_key_password'] - } - } - compileSdkVersion 30 - - defaultConfig { - applicationId "net.foucry.pilldroid" - minSdkVersion defaultMinSdkVersion - targetSdkVersion defaultTargetSdkVersion - versionCode 100 - versionName "v0.100-beta" - multiDexEnabled true - } - - buildTypes { - debug { - minifyEnabled false - debuggable true - applicationIdSuffix ".debug" - } - release { - minifyEnabled true - proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' - debuggable false - signingConfig signingConfigs.release - } - prerelease { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' - debuggable false - signingConfig signingConfigs.prerelease - } - } - flavorDimensions "version" - productFlavors { - dev { - resValue "string", "app_name", "PillDroid dev" - dimension ="version" - } - - product { - resValue "string", "app_name", "PillDroid" - dimension ="version" - } - preproduct { - resValue "string", "app_name", "PillDroid Pre-Release" - dimension ="version" - } - } - - compileOptions { - sourceCompatibility JavaVersion.VERSION_11 - targetCompatibility JavaVersion.VERSION_11 - } - - buildToolsVersion '32.0.0' - - allprojects { - tasks.withType(JavaCompile) { - options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation" - } - } -} - -repositories { - mavenCentral() -} -sourceSets { - main { - java { - exclude 'net/foucry/pilldroid/scanActivity.java' - } - } -} -dependencies { - implementation fileTree(include: ['*.jar'], dir: 'libs') - testImplementation 'junit:junit:4.13.2' - - implementation 'androidx.appcompat:appcompat:1.2.0' - implementation 'androidx.recyclerview:recyclerview:1.2.1' - implementation 'com.google.android.material:material:1.4.0' - implementation 'androidx.legacy:legacy-support-v4:1.0.0' - - implementation 'com.journeyapps:zxing-android-embedded:4.3.0' - implementation 'androidx.core:core:1.6.0' - - coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5' -} diff --git a/app/build_BASE_2948.gradle b/app/build_BASE_2948.gradle deleted file mode 100644 index 4abead4..0000000 --- a/app/build_BASE_2948.gradle +++ /dev/null @@ -1,117 +0,0 @@ -//noinspection GradleCompatible -apply plugin: 'com.android.application' - -// Try reading secrets from file -def secretsPropertiesFile = rootProject.file("secrets.properties") -def secretProperties = new Properties() - -if (secretsPropertiesFile.exists()) { - secretProperties.load(new FileInputStream(secretsPropertiesFile)) -} -// Otherwise read from environment variables, this happens in CI -else { - secretProperties.setProperty("signing_keystore_password", "${System.getenv('signing_keystore_password')}") - secretProperties.setProperty("signing_key_password", "${System.getenv('signing_key_password')}") - secretProperties.setProperty("signing_key_alias", "${System.getenv('signing_key_alias')}") -} - -android { - signingConfigs { - release { - storeFile rootProject.file("android-signing-keystore.jks") - storePassword secretProperties['signing_keystore_password'] - keyAlias secretProperties['signing_release_alias_key'] - keyPassword secretProperties['signing_release_key_password'] - } - prerelease { - storeFile rootProject.file("android-signing-keystore.jks") - storePassword secretProperties['signing_keystore_password'] - keyAlias secretProperties['signing_pre-release_key_alias'] - keyPassword secretProperties['signing_pre-release_key_password'] - } - } - compileSdkVersion 30 - - defaultConfig { - applicationId "net.foucry.pilldroid" - minSdkVersion defaultMinSdkVersion - targetSdkVersion defaultTargetSdkVersion - versionCode 100 - versionName "v0.100-beta" - multiDexEnabled true - } - - buildTypes { - debug { - minifyEnabled false - debuggable true - applicationIdSuffix ".debug" - } - release { - minifyEnabled true - proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' - debuggable false - signingConfig signingConfigs.release - } - prerelease { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' - debuggable false - signingConfig signingConfigs.prerelease - } - } - flavorDimensions "version" - productFlavors { - dev { - resValue "string", "app_name", "PillDroid dev" - dimension ="version" - } - - product { - resValue "string", "app_name", "PillDroid" - dimension ="version" - } - preproduct { - resValue "string", "app_name", "PillDroid Pre-Release" - dimension ="version" - } - } - - compileOptions { - sourceCompatibility JavaVersion.VERSION_11 - targetCompatibility JavaVersion.VERSION_11 - } - - buildToolsVersion '32.0.0' - - allprojects { - tasks.withType(JavaCompile) { - options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation" - } - } -} - -repositories { - mavenCentral() -} -sourceSets { - main { - java { - exclude 'net/foucry/pilldroid/scanActivity.java' - } - } -} -dependencies { - implementation fileTree(include: ['*.jar'], dir: 'libs') - testImplementation 'junit:junit:4.13.2' - - implementation 'androidx.appcompat:appcompat:1.2.0' - implementation 'androidx.recyclerview:recyclerview:1.2.1' - implementation 'com.google.android.material:material:1.4.0' - implementation 'androidx.legacy:legacy-support-v4:1.0.0' - - implementation 'com.journeyapps:zxing-android-embedded:4.3.0' - implementation 'androidx.core:core:1.6.0' - - coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5' -} diff --git a/app/build_BASE_3178.gradle b/app/build_BASE_3178.gradle deleted file mode 100644 index 4abead4..0000000 --- a/app/build_BASE_3178.gradle +++ /dev/null @@ -1,117 +0,0 @@ -//noinspection GradleCompatible -apply plugin: 'com.android.application' - -// Try reading secrets from file -def secretsPropertiesFile = rootProject.file("secrets.properties") -def secretProperties = new Properties() - -if (secretsPropertiesFile.exists()) { - secretProperties.load(new FileInputStream(secretsPropertiesFile)) -} -// Otherwise read from environment variables, this happens in CI -else { - secretProperties.setProperty("signing_keystore_password", "${System.getenv('signing_keystore_password')}") - secretProperties.setProperty("signing_key_password", "${System.getenv('signing_key_password')}") - secretProperties.setProperty("signing_key_alias", "${System.getenv('signing_key_alias')}") -} - -android { - signingConfigs { - release { - storeFile rootProject.file("android-signing-keystore.jks") - storePassword secretProperties['signing_keystore_password'] - keyAlias secretProperties['signing_release_alias_key'] - keyPassword secretProperties['signing_release_key_password'] - } - prerelease { - storeFile rootProject.file("android-signing-keystore.jks") - storePassword secretProperties['signing_keystore_password'] - keyAlias secretProperties['signing_pre-release_key_alias'] - keyPassword secretProperties['signing_pre-release_key_password'] - } - } - compileSdkVersion 30 - - defaultConfig { - applicationId "net.foucry.pilldroid" - minSdkVersion defaultMinSdkVersion - targetSdkVersion defaultTargetSdkVersion - versionCode 100 - versionName "v0.100-beta" - multiDexEnabled true - } - - buildTypes { - debug { - minifyEnabled false - debuggable true - applicationIdSuffix ".debug" - } - release { - minifyEnabled true - proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' - debuggable false - signingConfig signingConfigs.release - } - prerelease { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' - debuggable false - signingConfig signingConfigs.prerelease - } - } - flavorDimensions "version" - productFlavors { - dev { - resValue "string", "app_name", "PillDroid dev" - dimension ="version" - } - - product { - resValue "string", "app_name", "PillDroid" - dimension ="version" - } - preproduct { - resValue "string", "app_name", "PillDroid Pre-Release" - dimension ="version" - } - } - - compileOptions { - sourceCompatibility JavaVersion.VERSION_11 - targetCompatibility JavaVersion.VERSION_11 - } - - buildToolsVersion '32.0.0' - - allprojects { - tasks.withType(JavaCompile) { - options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation" - } - } -} - -repositories { - mavenCentral() -} -sourceSets { - main { - java { - exclude 'net/foucry/pilldroid/scanActivity.java' - } - } -} -dependencies { - implementation fileTree(include: ['*.jar'], dir: 'libs') - testImplementation 'junit:junit:4.13.2' - - implementation 'androidx.appcompat:appcompat:1.2.0' - implementation 'androidx.recyclerview:recyclerview:1.2.1' - implementation 'com.google.android.material:material:1.4.0' - implementation 'androidx.legacy:legacy-support-v4:1.0.0' - - implementation 'com.journeyapps:zxing-android-embedded:4.3.0' - implementation 'androidx.core:core:1.6.0' - - coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5' -} diff --git a/app/build_BASE_3356.gradle b/app/build_BASE_3356.gradle deleted file mode 100644 index 4abead4..0000000 --- a/app/build_BASE_3356.gradle +++ /dev/null @@ -1,117 +0,0 @@ -//noinspection GradleCompatible -apply plugin: 'com.android.application' - -// Try reading secrets from file -def secretsPropertiesFile = rootProject.file("secrets.properties") -def secretProperties = new Properties() - -if (secretsPropertiesFile.exists()) { - secretProperties.load(new FileInputStream(secretsPropertiesFile)) -} -// Otherwise read from environment variables, this happens in CI -else { - secretProperties.setProperty("signing_keystore_password", "${System.getenv('signing_keystore_password')}") - secretProperties.setProperty("signing_key_password", "${System.getenv('signing_key_password')}") - secretProperties.setProperty("signing_key_alias", "${System.getenv('signing_key_alias')}") -} - -android { - signingConfigs { - release { - storeFile rootProject.file("android-signing-keystore.jks") - storePassword secretProperties['signing_keystore_password'] - keyAlias secretProperties['signing_release_alias_key'] - keyPassword secretProperties['signing_release_key_password'] - } - prerelease { - storeFile rootProject.file("android-signing-keystore.jks") - storePassword secretProperties['signing_keystore_password'] - keyAlias secretProperties['signing_pre-release_key_alias'] - keyPassword secretProperties['signing_pre-release_key_password'] - } - } - compileSdkVersion 30 - - defaultConfig { - applicationId "net.foucry.pilldroid" - minSdkVersion defaultMinSdkVersion - targetSdkVersion defaultTargetSdkVersion - versionCode 100 - versionName "v0.100-beta" - multiDexEnabled true - } - - buildTypes { - debug { - minifyEnabled false - debuggable true - applicationIdSuffix ".debug" - } - release { - minifyEnabled true - proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' - debuggable false - signingConfig signingConfigs.release - } - prerelease { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' - debuggable false - signingConfig signingConfigs.prerelease - } - } - flavorDimensions "version" - productFlavors { - dev { - resValue "string", "app_name", "PillDroid dev" - dimension ="version" - } - - product { - resValue "string", "app_name", "PillDroid" - dimension ="version" - } - preproduct { - resValue "string", "app_name", "PillDroid Pre-Release" - dimension ="version" - } - } - - compileOptions { - sourceCompatibility JavaVersion.VERSION_11 - targetCompatibility JavaVersion.VERSION_11 - } - - buildToolsVersion '32.0.0' - - allprojects { - tasks.withType(JavaCompile) { - options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation" - } - } -} - -repositories { - mavenCentral() -} -sourceSets { - main { - java { - exclude 'net/foucry/pilldroid/scanActivity.java' - } - } -} -dependencies { - implementation fileTree(include: ['*.jar'], dir: 'libs') - testImplementation 'junit:junit:4.13.2' - - implementation 'androidx.appcompat:appcompat:1.2.0' - implementation 'androidx.recyclerview:recyclerview:1.2.1' - implementation 'com.google.android.material:material:1.4.0' - implementation 'androidx.legacy:legacy-support-v4:1.0.0' - - implementation 'com.journeyapps:zxing-android-embedded:4.3.0' - implementation 'androidx.core:core:1.6.0' - - coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5' -} diff --git a/app/build_LOCAL_2537.gradle b/app/build_LOCAL_2537.gradle deleted file mode 100644 index cc3eb2b..0000000 --- a/app/build_LOCAL_2537.gradle +++ /dev/null @@ -1,117 +0,0 @@ -//noinspection GradleCompatible -apply plugin: 'com.android.application' - -// Try reading secrets from file -def secretsPropertiesFile = rootProject.file("secrets.properties") -def secretProperties = new Properties() - -if (secretsPropertiesFile.exists()) { - secretProperties.load(new FileInputStream(secretsPropertiesFile)) -} -// Otherwise read from environment variables, this happens in CI -else { - secretProperties.setProperty("signing_keystore_password", "${System.getenv('signing_keystore_password')}") - secretProperties.setProperty("signing_key_password", "${System.getenv('signing_key_password')}") - secretProperties.setProperty("signing_key_alias", "${System.getenv('signing_key_alias')}") -} - -android { - signingConfigs { - release { - storeFile rootProject.file("android-signing-keystore.jks") - storePassword secretProperties['signing_keystore_password'] - keyAlias secretProperties['signing_release_alias_key'] - keyPassword secretProperties['signing_release_key_password'] - } - prerelease { - storeFile rootProject.file("android-signing-keystore.jks") - storePassword secretProperties['signing_keystore_password'] - keyAlias secretProperties['signing_pre-release_key_alias'] - keyPassword secretProperties['signing_pre-release_key_password'] - } - } - compileSdkVersion 31 - - defaultConfig { - applicationId "net.foucry.pilldroid" - minSdkVersion defaultMinSdkVersion - targetSdkVersion defaultTargetSdkVersion - versionCode 100 - versionName "v0.100-beta" - multiDexEnabled true - } - - buildTypes { - debug { - minifyEnabled false - debuggable true - applicationIdSuffix ".debug" - } - release { - minifyEnabled true - proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' - debuggable false - signingConfig signingConfigs.release - } - prerelease { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' - debuggable false - signingConfig signingConfigs.prerelease - } - } - flavorDimensions "version" - productFlavors { - dev { - resValue "string", "app_name", "PillDroid dev" - dimension ="version" - } - - product { - resValue "string", "app_name", "PillDroid" - dimension ="version" - } - preproduct { - resValue "string", "app_name", "PillDroid Pre-Release" - dimension ="version" - } - } - - compileOptions { - sourceCompatibility JavaVersion.VERSION_11 - targetCompatibility JavaVersion.VERSION_11 - } - - buildToolsVersion '32.0.0' - - allprojects { - tasks.withType(JavaCompile) { - options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation" - } - } -} - -repositories { - mavenCentral() -} -sourceSets { - main { - java { - exclude 'net/foucry/pilldroid/scanActivity.java' - } - } -} -dependencies { - implementation fileTree(include: ['*.jar'], dir: 'libs') - testImplementation 'junit:junit:4.13.2' - - implementation 'androidx.appcompat:appcompat:1.4.1' - implementation 'androidx.recyclerview:recyclerview:1.2.1' - implementation 'com.google.android.material:material:1.5.0' - implementation 'androidx.legacy:legacy-support-v4:1.0.0' - - implementation 'com.journeyapps:zxing-android-embedded:4.3.0' - implementation 'androidx.core:core:1.7.0' - - coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5' -} diff --git a/app/build_LOCAL_2948.gradle b/app/build_LOCAL_2948.gradle deleted file mode 100644 index cc3eb2b..0000000 --- a/app/build_LOCAL_2948.gradle +++ /dev/null @@ -1,117 +0,0 @@ -//noinspection GradleCompatible -apply plugin: 'com.android.application' - -// Try reading secrets from file -def secretsPropertiesFile = rootProject.file("secrets.properties") -def secretProperties = new Properties() - -if (secretsPropertiesFile.exists()) { - secretProperties.load(new FileInputStream(secretsPropertiesFile)) -} -// Otherwise read from environment variables, this happens in CI -else { - secretProperties.setProperty("signing_keystore_password", "${System.getenv('signing_keystore_password')}") - secretProperties.setProperty("signing_key_password", "${System.getenv('signing_key_password')}") - secretProperties.setProperty("signing_key_alias", "${System.getenv('signing_key_alias')}") -} - -android { - signingConfigs { - release { - storeFile rootProject.file("android-signing-keystore.jks") - storePassword secretProperties['signing_keystore_password'] - keyAlias secretProperties['signing_release_alias_key'] - keyPassword secretProperties['signing_release_key_password'] - } - prerelease { - storeFile rootProject.file("android-signing-keystore.jks") - storePassword secretProperties['signing_keystore_password'] - keyAlias secretProperties['signing_pre-release_key_alias'] - keyPassword secretProperties['signing_pre-release_key_password'] - } - } - compileSdkVersion 31 - - defaultConfig { - applicationId "net.foucry.pilldroid" - minSdkVersion defaultMinSdkVersion - targetSdkVersion defaultTargetSdkVersion - versionCode 100 - versionName "v0.100-beta" - multiDexEnabled true - } - - buildTypes { - debug { - minifyEnabled false - debuggable true - applicationIdSuffix ".debug" - } - release { - minifyEnabled true - proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' - debuggable false - signingConfig signingConfigs.release - } - prerelease { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' - debuggable false - signingConfig signingConfigs.prerelease - } - } - flavorDimensions "version" - productFlavors { - dev { - resValue "string", "app_name", "PillDroid dev" - dimension ="version" - } - - product { - resValue "string", "app_name", "PillDroid" - dimension ="version" - } - preproduct { - resValue "string", "app_name", "PillDroid Pre-Release" - dimension ="version" - } - } - - compileOptions { - sourceCompatibility JavaVersion.VERSION_11 - targetCompatibility JavaVersion.VERSION_11 - } - - buildToolsVersion '32.0.0' - - allprojects { - tasks.withType(JavaCompile) { - options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation" - } - } -} - -repositories { - mavenCentral() -} -sourceSets { - main { - java { - exclude 'net/foucry/pilldroid/scanActivity.java' - } - } -} -dependencies { - implementation fileTree(include: ['*.jar'], dir: 'libs') - testImplementation 'junit:junit:4.13.2' - - implementation 'androidx.appcompat:appcompat:1.4.1' - implementation 'androidx.recyclerview:recyclerview:1.2.1' - implementation 'com.google.android.material:material:1.5.0' - implementation 'androidx.legacy:legacy-support-v4:1.0.0' - - implementation 'com.journeyapps:zxing-android-embedded:4.3.0' - implementation 'androidx.core:core:1.7.0' - - coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5' -} diff --git a/app/build_LOCAL_3178.gradle b/app/build_LOCAL_3178.gradle deleted file mode 100644 index cc3eb2b..0000000 --- a/app/build_LOCAL_3178.gradle +++ /dev/null @@ -1,117 +0,0 @@ -//noinspection GradleCompatible -apply plugin: 'com.android.application' - -// Try reading secrets from file -def secretsPropertiesFile = rootProject.file("secrets.properties") -def secretProperties = new Properties() - -if (secretsPropertiesFile.exists()) { - secretProperties.load(new FileInputStream(secretsPropertiesFile)) -} -// Otherwise read from environment variables, this happens in CI -else { - secretProperties.setProperty("signing_keystore_password", "${System.getenv('signing_keystore_password')}") - secretProperties.setProperty("signing_key_password", "${System.getenv('signing_key_password')}") - secretProperties.setProperty("signing_key_alias", "${System.getenv('signing_key_alias')}") -} - -android { - signingConfigs { - release { - storeFile rootProject.file("android-signing-keystore.jks") - storePassword secretProperties['signing_keystore_password'] - keyAlias secretProperties['signing_release_alias_key'] - keyPassword secretProperties['signing_release_key_password'] - } - prerelease { - storeFile rootProject.file("android-signing-keystore.jks") - storePassword secretProperties['signing_keystore_password'] - keyAlias secretProperties['signing_pre-release_key_alias'] - keyPassword secretProperties['signing_pre-release_key_password'] - } - } - compileSdkVersion 31 - - defaultConfig { - applicationId "net.foucry.pilldroid" - minSdkVersion defaultMinSdkVersion - targetSdkVersion defaultTargetSdkVersion - versionCode 100 - versionName "v0.100-beta" - multiDexEnabled true - } - - buildTypes { - debug { - minifyEnabled false - debuggable true - applicationIdSuffix ".debug" - } - release { - minifyEnabled true - proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' - debuggable false - signingConfig signingConfigs.release - } - prerelease { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' - debuggable false - signingConfig signingConfigs.prerelease - } - } - flavorDimensions "version" - productFlavors { - dev { - resValue "string", "app_name", "PillDroid dev" - dimension ="version" - } - - product { - resValue "string", "app_name", "PillDroid" - dimension ="version" - } - preproduct { - resValue "string", "app_name", "PillDroid Pre-Release" - dimension ="version" - } - } - - compileOptions { - sourceCompatibility JavaVersion.VERSION_11 - targetCompatibility JavaVersion.VERSION_11 - } - - buildToolsVersion '32.0.0' - - allprojects { - tasks.withType(JavaCompile) { - options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation" - } - } -} - -repositories { - mavenCentral() -} -sourceSets { - main { - java { - exclude 'net/foucry/pilldroid/scanActivity.java' - } - } -} -dependencies { - implementation fileTree(include: ['*.jar'], dir: 'libs') - testImplementation 'junit:junit:4.13.2' - - implementation 'androidx.appcompat:appcompat:1.4.1' - implementation 'androidx.recyclerview:recyclerview:1.2.1' - implementation 'com.google.android.material:material:1.5.0' - implementation 'androidx.legacy:legacy-support-v4:1.0.0' - - implementation 'com.journeyapps:zxing-android-embedded:4.3.0' - implementation 'androidx.core:core:1.7.0' - - coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5' -} diff --git a/app/build_LOCAL_3356.gradle b/app/build_LOCAL_3356.gradle deleted file mode 100644 index cc3eb2b..0000000 --- a/app/build_LOCAL_3356.gradle +++ /dev/null @@ -1,117 +0,0 @@ -//noinspection GradleCompatible -apply plugin: 'com.android.application' - -// Try reading secrets from file -def secretsPropertiesFile = rootProject.file("secrets.properties") -def secretProperties = new Properties() - -if (secretsPropertiesFile.exists()) { - secretProperties.load(new FileInputStream(secretsPropertiesFile)) -} -// Otherwise read from environment variables, this happens in CI -else { - secretProperties.setProperty("signing_keystore_password", "${System.getenv('signing_keystore_password')}") - secretProperties.setProperty("signing_key_password", "${System.getenv('signing_key_password')}") - secretProperties.setProperty("signing_key_alias", "${System.getenv('signing_key_alias')}") -} - -android { - signingConfigs { - release { - storeFile rootProject.file("android-signing-keystore.jks") - storePassword secretProperties['signing_keystore_password'] - keyAlias secretProperties['signing_release_alias_key'] - keyPassword secretProperties['signing_release_key_password'] - } - prerelease { - storeFile rootProject.file("android-signing-keystore.jks") - storePassword secretProperties['signing_keystore_password'] - keyAlias secretProperties['signing_pre-release_key_alias'] - keyPassword secretProperties['signing_pre-release_key_password'] - } - } - compileSdkVersion 31 - - defaultConfig { - applicationId "net.foucry.pilldroid" - minSdkVersion defaultMinSdkVersion - targetSdkVersion defaultTargetSdkVersion - versionCode 100 - versionName "v0.100-beta" - multiDexEnabled true - } - - buildTypes { - debug { - minifyEnabled false - debuggable true - applicationIdSuffix ".debug" - } - release { - minifyEnabled true - proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' - debuggable false - signingConfig signingConfigs.release - } - prerelease { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' - debuggable false - signingConfig signingConfigs.prerelease - } - } - flavorDimensions "version" - productFlavors { - dev { - resValue "string", "app_name", "PillDroid dev" - dimension ="version" - } - - product { - resValue "string", "app_name", "PillDroid" - dimension ="version" - } - preproduct { - resValue "string", "app_name", "PillDroid Pre-Release" - dimension ="version" - } - } - - compileOptions { - sourceCompatibility JavaVersion.VERSION_11 - targetCompatibility JavaVersion.VERSION_11 - } - - buildToolsVersion '32.0.0' - - allprojects { - tasks.withType(JavaCompile) { - options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation" - } - } -} - -repositories { - mavenCentral() -} -sourceSets { - main { - java { - exclude 'net/foucry/pilldroid/scanActivity.java' - } - } -} -dependencies { - implementation fileTree(include: ['*.jar'], dir: 'libs') - testImplementation 'junit:junit:4.13.2' - - implementation 'androidx.appcompat:appcompat:1.4.1' - implementation 'androidx.recyclerview:recyclerview:1.2.1' - implementation 'com.google.android.material:material:1.5.0' - implementation 'androidx.legacy:legacy-support-v4:1.0.0' - - implementation 'com.journeyapps:zxing-android-embedded:4.3.0' - implementation 'androidx.core:core:1.7.0' - - coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5' -} diff --git a/app/build_REMOTE_2537.gradle b/app/build_REMOTE_2537.gradle deleted file mode 100644 index f39eced..0000000 --- a/app/build_REMOTE_2537.gradle +++ /dev/null @@ -1,117 +0,0 @@ -//noinspection GradleCompatible -apply plugin: 'com.android.application' - -// Try reading secrets from file -def secretsPropertiesFile = rootProject.file("secrets.properties") -def secretProperties = new Properties() - -if (secretsPropertiesFile.exists()) { - secretProperties.load(new FileInputStream(secretsPropertiesFile)) -} -// Otherwise read from environment variables, this happens in CI -else { - secretProperties.setProperty("signing_keystore_password", "${System.getenv('signing_keystore_password')}") - secretProperties.setProperty("signing_key_password", "${System.getenv('signing_key_password')}") - secretProperties.setProperty("signing_key_alias", "${System.getenv('signing_key_alias')}") -} - -android { - signingConfigs { - release { - storeFile rootProject.file("android-signing-keystore.jks") - storePassword secretProperties['signing_keystore_password'] - keyAlias secretProperties['signing_release_alias_key'] - keyPassword secretProperties['signing_release_key_password'] - } - prerelease { - storeFile rootProject.file("android-signing-keystore.jks") - storePassword secretProperties['signing_keystore_password'] - keyAlias secretProperties['signing_pre-release_key_alias'] - keyPassword secretProperties['signing_pre-release_key_password'] - } - } - compileSdkVersion 31 - - defaultConfig { - applicationId "net.foucry.pilldroid" - minSdkVersion defaultMinSdkVersion - targetSdkVersion defaultTargetSdkVersion - versionCode 100 - versionName "v0.100-beta" - multiDexEnabled true - } - - buildTypes { - debug { - minifyEnabled false - debuggable true - applicationIdSuffix ".debug" - } - release { - minifyEnabled true - proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' - debuggable false - signingConfig signingConfigs.release - } - prerelease { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' - debuggable false - signingConfig signingConfigs.prerelease - } - } - flavorDimensions "version" - productFlavors { - dev { - resValue "string", "app_name", "PillDroid dev" - dimension ="version" - } - - product { - resValue "string", "app_name", "PillDroid" - dimension ="version" - } - preproduct { - resValue "string", "app_name", "PillDroid Pre-Release" - dimension ="version" - } - } - - compileOptions { - sourceCompatibility JavaVersion.VERSION_11 - targetCompatibility JavaVersion.VERSION_11 - } - - buildToolsVersion '32.0.0' - - allprojects { - tasks.withType(JavaCompile) { - options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation" - } - } -} - -repositories { - mavenCentral() -} -sourceSets { - main { - java { - exclude 'net/foucry/pilldroid/scanActivity.java' - } - } -} -dependencies { - implementation fileTree(include: ['*.jar'], dir: 'libs') - testImplementation 'junit:junit:4.13.2' - - implementation 'androidx.appcompat:appcompat:1.4.0' - implementation 'androidx.recyclerview:recyclerview:1.2.1' - implementation 'com.google.android.material:material:1.4.0' - implementation 'androidx.legacy:legacy-support-v4:1.0.0' - - implementation 'com.journeyapps:zxing-android-embedded:4.3.0' - implementation 'androidx.core:core:1.6.0' - - coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5' -} diff --git a/app/build_REMOTE_2948.gradle b/app/build_REMOTE_2948.gradle deleted file mode 100644 index f39eced..0000000 --- a/app/build_REMOTE_2948.gradle +++ /dev/null @@ -1,117 +0,0 @@ -//noinspection GradleCompatible -apply plugin: 'com.android.application' - -// Try reading secrets from file -def secretsPropertiesFile = rootProject.file("secrets.properties") -def secretProperties = new Properties() - -if (secretsPropertiesFile.exists()) { - secretProperties.load(new FileInputStream(secretsPropertiesFile)) -} -// Otherwise read from environment variables, this happens in CI -else { - secretProperties.setProperty("signing_keystore_password", "${System.getenv('signing_keystore_password')}") - secretProperties.setProperty("signing_key_password", "${System.getenv('signing_key_password')}") - secretProperties.setProperty("signing_key_alias", "${System.getenv('signing_key_alias')}") -} - -android { - signingConfigs { - release { - storeFile rootProject.file("android-signing-keystore.jks") - storePassword secretProperties['signing_keystore_password'] - keyAlias secretProperties['signing_release_alias_key'] - keyPassword secretProperties['signing_release_key_password'] - } - prerelease { - storeFile rootProject.file("android-signing-keystore.jks") - storePassword secretProperties['signing_keystore_password'] - keyAlias secretProperties['signing_pre-release_key_alias'] - keyPassword secretProperties['signing_pre-release_key_password'] - } - } - compileSdkVersion 31 - - defaultConfig { - applicationId "net.foucry.pilldroid" - minSdkVersion defaultMinSdkVersion - targetSdkVersion defaultTargetSdkVersion - versionCode 100 - versionName "v0.100-beta" - multiDexEnabled true - } - - buildTypes { - debug { - minifyEnabled false - debuggable true - applicationIdSuffix ".debug" - } - release { - minifyEnabled true - proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' - debuggable false - signingConfig signingConfigs.release - } - prerelease { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' - debuggable false - signingConfig signingConfigs.prerelease - } - } - flavorDimensions "version" - productFlavors { - dev { - resValue "string", "app_name", "PillDroid dev" - dimension ="version" - } - - product { - resValue "string", "app_name", "PillDroid" - dimension ="version" - } - preproduct { - resValue "string", "app_name", "PillDroid Pre-Release" - dimension ="version" - } - } - - compileOptions { - sourceCompatibility JavaVersion.VERSION_11 - targetCompatibility JavaVersion.VERSION_11 - } - - buildToolsVersion '32.0.0' - - allprojects { - tasks.withType(JavaCompile) { - options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation" - } - } -} - -repositories { - mavenCentral() -} -sourceSets { - main { - java { - exclude 'net/foucry/pilldroid/scanActivity.java' - } - } -} -dependencies { - implementation fileTree(include: ['*.jar'], dir: 'libs') - testImplementation 'junit:junit:4.13.2' - - implementation 'androidx.appcompat:appcompat:1.4.0' - implementation 'androidx.recyclerview:recyclerview:1.2.1' - implementation 'com.google.android.material:material:1.4.0' - implementation 'androidx.legacy:legacy-support-v4:1.0.0' - - implementation 'com.journeyapps:zxing-android-embedded:4.3.0' - implementation 'androidx.core:core:1.6.0' - - coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5' -} diff --git a/app/build_REMOTE_3178.gradle b/app/build_REMOTE_3178.gradle deleted file mode 100644 index f39eced..0000000 --- a/app/build_REMOTE_3178.gradle +++ /dev/null @@ -1,117 +0,0 @@ -//noinspection GradleCompatible -apply plugin: 'com.android.application' - -// Try reading secrets from file -def secretsPropertiesFile = rootProject.file("secrets.properties") -def secretProperties = new Properties() - -if (secretsPropertiesFile.exists()) { - secretProperties.load(new FileInputStream(secretsPropertiesFile)) -} -// Otherwise read from environment variables, this happens in CI -else { - secretProperties.setProperty("signing_keystore_password", "${System.getenv('signing_keystore_password')}") - secretProperties.setProperty("signing_key_password", "${System.getenv('signing_key_password')}") - secretProperties.setProperty("signing_key_alias", "${System.getenv('signing_key_alias')}") -} - -android { - signingConfigs { - release { - storeFile rootProject.file("android-signing-keystore.jks") - storePassword secretProperties['signing_keystore_password'] - keyAlias secretProperties['signing_release_alias_key'] - keyPassword secretProperties['signing_release_key_password'] - } - prerelease { - storeFile rootProject.file("android-signing-keystore.jks") - storePassword secretProperties['signing_keystore_password'] - keyAlias secretProperties['signing_pre-release_key_alias'] - keyPassword secretProperties['signing_pre-release_key_password'] - } - } - compileSdkVersion 31 - - defaultConfig { - applicationId "net.foucry.pilldroid" - minSdkVersion defaultMinSdkVersion - targetSdkVersion defaultTargetSdkVersion - versionCode 100 - versionName "v0.100-beta" - multiDexEnabled true - } - - buildTypes { - debug { - minifyEnabled false - debuggable true - applicationIdSuffix ".debug" - } - release { - minifyEnabled true - proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' - debuggable false - signingConfig signingConfigs.release - } - prerelease { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' - debuggable false - signingConfig signingConfigs.prerelease - } - } - flavorDimensions "version" - productFlavors { - dev { - resValue "string", "app_name", "PillDroid dev" - dimension ="version" - } - - product { - resValue "string", "app_name", "PillDroid" - dimension ="version" - } - preproduct { - resValue "string", "app_name", "PillDroid Pre-Release" - dimension ="version" - } - } - - compileOptions { - sourceCompatibility JavaVersion.VERSION_11 - targetCompatibility JavaVersion.VERSION_11 - } - - buildToolsVersion '32.0.0' - - allprojects { - tasks.withType(JavaCompile) { - options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation" - } - } -} - -repositories { - mavenCentral() -} -sourceSets { - main { - java { - exclude 'net/foucry/pilldroid/scanActivity.java' - } - } -} -dependencies { - implementation fileTree(include: ['*.jar'], dir: 'libs') - testImplementation 'junit:junit:4.13.2' - - implementation 'androidx.appcompat:appcompat:1.4.0' - implementation 'androidx.recyclerview:recyclerview:1.2.1' - implementation 'com.google.android.material:material:1.4.0' - implementation 'androidx.legacy:legacy-support-v4:1.0.0' - - implementation 'com.journeyapps:zxing-android-embedded:4.3.0' - implementation 'androidx.core:core:1.6.0' - - coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5' -} diff --git a/app/build_REMOTE_3356.gradle b/app/build_REMOTE_3356.gradle deleted file mode 100644 index f39eced..0000000 --- a/app/build_REMOTE_3356.gradle +++ /dev/null @@ -1,117 +0,0 @@ -//noinspection GradleCompatible -apply plugin: 'com.android.application' - -// Try reading secrets from file -def secretsPropertiesFile = rootProject.file("secrets.properties") -def secretProperties = new Properties() - -if (secretsPropertiesFile.exists()) { - secretProperties.load(new FileInputStream(secretsPropertiesFile)) -} -// Otherwise read from environment variables, this happens in CI -else { - secretProperties.setProperty("signing_keystore_password", "${System.getenv('signing_keystore_password')}") - secretProperties.setProperty("signing_key_password", "${System.getenv('signing_key_password')}") - secretProperties.setProperty("signing_key_alias", "${System.getenv('signing_key_alias')}") -} - -android { - signingConfigs { - release { - storeFile rootProject.file("android-signing-keystore.jks") - storePassword secretProperties['signing_keystore_password'] - keyAlias secretProperties['signing_release_alias_key'] - keyPassword secretProperties['signing_release_key_password'] - } - prerelease { - storeFile rootProject.file("android-signing-keystore.jks") - storePassword secretProperties['signing_keystore_password'] - keyAlias secretProperties['signing_pre-release_key_alias'] - keyPassword secretProperties['signing_pre-release_key_password'] - } - } - compileSdkVersion 31 - - defaultConfig { - applicationId "net.foucry.pilldroid" - minSdkVersion defaultMinSdkVersion - targetSdkVersion defaultTargetSdkVersion - versionCode 100 - versionName "v0.100-beta" - multiDexEnabled true - } - - buildTypes { - debug { - minifyEnabled false - debuggable true - applicationIdSuffix ".debug" - } - release { - minifyEnabled true - proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' - debuggable false - signingConfig signingConfigs.release - } - prerelease { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' - debuggable false - signingConfig signingConfigs.prerelease - } - } - flavorDimensions "version" - productFlavors { - dev { - resValue "string", "app_name", "PillDroid dev" - dimension ="version" - } - - product { - resValue "string", "app_name", "PillDroid" - dimension ="version" - } - preproduct { - resValue "string", "app_name", "PillDroid Pre-Release" - dimension ="version" - } - } - - compileOptions { - sourceCompatibility JavaVersion.VERSION_11 - targetCompatibility JavaVersion.VERSION_11 - } - - buildToolsVersion '32.0.0' - - allprojects { - tasks.withType(JavaCompile) { - options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation" - } - } -} - -repositories { - mavenCentral() -} -sourceSets { - main { - java { - exclude 'net/foucry/pilldroid/scanActivity.java' - } - } -} -dependencies { - implementation fileTree(include: ['*.jar'], dir: 'libs') - testImplementation 'junit:junit:4.13.2' - - implementation 'androidx.appcompat:appcompat:1.4.0' - implementation 'androidx.recyclerview:recyclerview:1.2.1' - implementation 'com.google.android.material:material:1.4.0' - implementation 'androidx.legacy:legacy-support-v4:1.0.0' - - implementation 'com.journeyapps:zxing-android-embedded:4.3.0' - implementation 'androidx.core:core:1.6.0' - - coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5' -} diff --git a/app/preproduct/prerelease/output-metadata.json b/app/preproduct/prerelease/output-metadata.json deleted file mode 100644 index c0b772b..0000000 --- a/app/preproduct/prerelease/output-metadata.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "version": 3, - "artifactType": { - "type": "APK", - "kind": "Directory" - }, - "applicationId": "net.foucry.pilldroid", - "variantName": "preproductPrerelease", - "elements": [ - { - "type": "SINGLE", - "filters": [], - "attributes": [], - "versionCode": 24065, - "versionName": "0.65.20220101-d04e132", - "outputFile": "app-preproduct-prerelease.apk" - } - ], - "elementType": "File" -} \ No newline at end of file diff --git a/app/src/main/res/mipmap-anydpi b/app/src/main/res/mipmap-anydpi deleted file mode 100644 index e69de29..0000000