mirror of
https://github.com/Michatec/michas-droid.git
synced 2026-05-31 02:12:42 +02:00
-- BIG Update --
This commit is contained in:
+29
-59
@@ -1,52 +1,46 @@
|
||||
buildscript {
|
||||
ext.versions = [
|
||||
android: '3.4.1',
|
||||
kotlin: '1.3.72'
|
||||
]
|
||||
|
||||
repositories {
|
||||
google()
|
||||
jcenter()
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:' + versions.android
|
||||
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:' + versions.kotlin
|
||||
classpath 'com.android.tools.build:gradle:9.0.1'
|
||||
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:2.2.10'
|
||||
}
|
||||
}
|
||||
|
||||
apply plugin: 'com.android.application'
|
||||
apply plugin: 'kotlin-android'
|
||||
|
||||
android {
|
||||
compileSdkVersion 29
|
||||
buildToolsVersion '29.0.3'
|
||||
namespace 'nya.kitsunyan.foxydroid'
|
||||
compileSdk 36
|
||||
|
||||
defaultConfig {
|
||||
archivesBaseName = 'foxy-droid'
|
||||
applicationId 'nya.kitsunyan.foxydroid'
|
||||
minSdkVersion 21
|
||||
targetSdkVersion 29
|
||||
versionCode 4
|
||||
versionName '1.3'
|
||||
minSdk 30
|
||||
targetSdk 36
|
||||
versionCode 15
|
||||
versionName '1.5'
|
||||
|
||||
def languages = [ 'en' ]
|
||||
buildConfigField 'String[]', 'LANGUAGES', '{ "' + languages.join('", "') + '" }'
|
||||
resConfigs languages
|
||||
}
|
||||
|
||||
sourceSets.all {
|
||||
def javaDir = it.java.srcDirs.find { it.name == 'java' }
|
||||
it.java.srcDirs += new File(javaDir.parentFile, 'kotlin')
|
||||
buildFeatures {
|
||||
buildConfig = true
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
main {
|
||||
java.srcDirs += 'src/main/kotlin'
|
||||
}
|
||||
}
|
||||
|
||||
compileOptions {
|
||||
sourceCompatibility JavaVersion.VERSION_1_8
|
||||
targetCompatibility JavaVersion.VERSION_1_8
|
||||
}
|
||||
|
||||
kotlinOptions {
|
||||
jvmTarget = compileOptions.sourceCompatibility.toString()
|
||||
sourceCompatibility JavaVersion.VERSION_17
|
||||
targetCompatibility JavaVersion.VERSION_17
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
@@ -58,25 +52,6 @@ android {
|
||||
minifyEnabled true
|
||||
shrinkResources false
|
||||
}
|
||||
all {
|
||||
crunchPngs false
|
||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard.pro'
|
||||
}
|
||||
}
|
||||
|
||||
lintOptions {
|
||||
warning 'InvalidPackage'
|
||||
ignore 'InvalidVectorPath'
|
||||
}
|
||||
|
||||
packagingOptions {
|
||||
exclude '/DebugProbesKt.bin'
|
||||
exclude '/kotlin/**.kotlin_builtins'
|
||||
exclude '/kotlin/**.kotlin_metadata'
|
||||
exclude '/META-INF/**.kotlin_module'
|
||||
exclude '/META-INF/**.pro'
|
||||
exclude '/META-INF/**.version'
|
||||
exclude '/okhttp3/internal/publicsuffix/*'
|
||||
}
|
||||
|
||||
def keystorePropertiesFile = rootProject.file('keystore.properties')
|
||||
@@ -98,31 +73,26 @@ android {
|
||||
storePassword signing.storePassword
|
||||
keyAlias signing.keyAlias
|
||||
keyPassword signing.keyPassword
|
||||
v2SigningEnabled false
|
||||
enableV2Signing false
|
||||
}
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
debug.signingConfig signingConfigs.primary
|
||||
release.signingConfig signingConfigs.primary
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
repositories {
|
||||
google()
|
||||
jcenter()
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk7:' + versions.kotlin
|
||||
implementation 'androidx.fragment:fragment:1.2.5'
|
||||
implementation 'androidx.viewpager2:viewpager2:1.0.0'
|
||||
implementation 'androidx.vectordrawable:vectordrawable:1.1.0'
|
||||
implementation 'com.squareup.okhttp3:okhttp:4.7.2'
|
||||
implementation 'io.reactivex.rxjava3:rxjava:3.0.4'
|
||||
implementation 'io.reactivex.rxjava3:rxandroid:3.0.0'
|
||||
implementation 'com.fasterxml.jackson.core:jackson-core:2.11.0'
|
||||
implementation 'org.jetbrains.kotlin:kotlin-stdlib:2.3.10'
|
||||
implementation 'androidx.fragment:fragment-ktx:1.8.9'
|
||||
implementation 'androidx.viewpager2:viewpager2:1.1.0'
|
||||
implementation 'androidx.vectordrawable:vectordrawable:1.2.0'
|
||||
implementation 'com.squareup.okhttp3:okhttp:5.3.2'
|
||||
implementation 'io.reactivex.rxjava3:rxjava:3.1.12'
|
||||
implementation 'io.reactivex.rxjava3:rxandroid:3.0.2'
|
||||
implementation 'com.fasterxml.jackson.core:jackson-core:2.21.1'
|
||||
implementation 'com.squareup.picasso:picasso:2.71828'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user