Project

General

Profile

Download (2.43 KB) Statistics
| Branch: | Tag: | Revision:

magiccube / build.gradle @ 47f42042

1
apply plugin: 'com.android.application'
2
apply plugin: 'com.google.gms.google-services'
3
apply plugin: 'com.google.firebase.crashlytics'
4

    
5
android {
6
    signingConfigs {
7
        release {
8
            storeFile file('/home/leszek/AndroidStudioProjects/MagicCube/distorted-cube/threedcell.keystore')
9
            keyAlias = 'distorted'
10
            }
11
    }
12
    compileSdk 34
13

    
14
    defaultConfig {
15
        applicationId "org.distorted.magic"
16
        minSdkVersion 23
17
        targetSdkVersion 34
18
        versionCode 97
19
        versionName "2.2.1"
20
    }
21

    
22
    buildTypes {
23
        release {
24
            minifyEnabled false
25
            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
26
            signingConfig signingConfigs.release
27
            manifestPlaceholders = [crashlyticsCollectionEnabled:"true"]
28
        }
29
        debug {
30
            manifestPlaceholders = [crashlyticsCollectionEnabled:"false"]
31
        }
32
    }
33

    
34
    buildFeatures {
35
        buildConfig = true
36
    }
37
    namespace 'org.distorted.main'
38
    compileOptions {
39
        sourceCompatibility JavaVersion.VERSION_11
40
        targetCompatibility JavaVersion.VERSION_11
41
    }
42
}
43

    
44
buildscript {
45
    repositories{
46
        google()
47
        mavenCentral()
48
    }
49
    dependencies{
50
        classpath 'com.android.tools.build:gradle:8.7.3'
51
        classpath 'com.google.gms:google-services:4.4.2'
52
        classpath 'com.google.firebase:firebase-crashlytics-gradle:3.0.2'
53
    }
54
}
55

    
56
dependencies {
57
    api project(':distorted-objectlib')
58
    api project(':distorted-flags')
59

    
60
    implementation platform('com.google.firebase:firebase-bom:33.7.0')
61
    implementation ('com.google.firebase:firebase-analytics')
62
      {
63
      exclude module: "play-services-ads-identifier"
64
      exclude module: "play-services-measurement"
65
      exclude module: "play-services-measurement-sdk"
66
      }
67
    implementation ('com.google.firebase:firebase-crashlytics')
68
    implementation ('com.google.firebase:firebase-messaging')
69
    implementation ('com.google.firebase:firebase-inappmessaging-display')
70
    implementation ('com.google.android.play:review:2.0.2')
71
    implementation ('androidx.appcompat:appcompat:1.7.0')
72
    implementation ('androidx.preference:preference:1.2.1')
73
    implementation ('androidx.work:work-runtime:2.9.1')
74
    implementation ('com.google.android.material:material:1.12.0')
75
    //implementation "com.android.billingclient:billing:5.1.0"
76
    implementation project(path: ':distorted-os-android')
77
}
(3-3/4)