1
|
buildscript {
|
2
|
repositories{
|
3
|
google()
|
4
|
mavenCentral()
|
5
|
}
|
6
|
dependencies{
|
7
|
classpath libs.gradle
|
8
|
classpath libs.google.services
|
9
|
classpath libs.firebase.crashlytics.gradle
|
10
|
}
|
11
|
}
|
12
|
|
13
|
plugins {
|
14
|
alias(libs.plugins.kotlin.android)
|
15
|
}
|
16
|
apply plugin: 'com.android.application'
|
17
|
apply plugin: 'com.google.gms.google-services'
|
18
|
apply plugin: 'com.google.firebase.crashlytics'
|
19
|
|
20
|
android {
|
21
|
signingConfigs {
|
22
|
release {
|
23
|
storeFile file('/home/leszek/AndroidStudioProjects/MagicCube/distorted-cube/threedcell.keystore')
|
24
|
keyAlias = 'distorted'
|
25
|
}
|
26
|
}
|
27
|
compileSdk 35
|
28
|
|
29
|
defaultConfig {
|
30
|
applicationId "org.distorted.magic"
|
31
|
minSdkVersion 23
|
32
|
targetSdk 35
|
33
|
versionCode 101
|
34
|
versionName "2.2.3"
|
35
|
}
|
36
|
|
37
|
buildTypes {
|
38
|
release {
|
39
|
minifyEnabled false
|
40
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
41
|
signingConfig signingConfigs.release
|
42
|
manifestPlaceholders = [crashlyticsCollectionEnabled:"true"]
|
43
|
}
|
44
|
debug {
|
45
|
manifestPlaceholders = [crashlyticsCollectionEnabled:"false"]
|
46
|
}
|
47
|
}
|
48
|
|
49
|
buildFeatures {
|
50
|
buildConfig = true
|
51
|
}
|
52
|
namespace 'org.distorted.main'
|
53
|
compileOptions {
|
54
|
sourceCompatibility JavaVersion.VERSION_11
|
55
|
targetCompatibility JavaVersion.VERSION_11
|
56
|
}
|
57
|
kotlinOptions {
|
58
|
jvmTarget = '11'
|
59
|
}
|
60
|
}
|
61
|
|
62
|
dependencies {
|
63
|
api project(':distorted-objectlib')
|
64
|
api project(':distorted-flags')
|
65
|
|
66
|
implementation platform(libs.firebase.bom)
|
67
|
implementation libs.firebase.analytics
|
68
|
{
|
69
|
exclude module: "play-services-ads-identifier"
|
70
|
exclude module: "play-services-measurement"
|
71
|
exclude module: "play-services-measurement-sdk"
|
72
|
}
|
73
|
|
74
|
implementation libs.firebase.crashlytics
|
75
|
implementation libs.firebase.messaging
|
76
|
implementation libs.firebase.inappmessaging.display
|
77
|
implementation libs.review
|
78
|
implementation libs.appcompat
|
79
|
implementation libs.preference
|
80
|
implementation libs.work.runtime
|
81
|
implementation libs.material
|
82
|
implementation libs.core.ktx
|
83
|
implementation project(path: ':distorted-os-android')
|
84
|
}
|