build.gradle 1.04 KB
apply plugin: 'com.android.application'
apply from: '../config.gradle'


def androidId = rootProject.ext.androidId
def support = rootProject.ext.dependencies
def url = rootProject.ext.url


android {
    compileSdk 32

    defaultConfig {
        applicationId "com.hjx.parent"
        minSdk 24
        targetSdk 32
        versionCode 1
        versionName "1.0"

        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
    }

    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
        }
    }
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }
}

dependencies {
    support.each { k, v -> implementation v }
    api project(path: ':libs:common')
    implementation 'androidx.appcompat:appcompat:1.5.1'
    implementation 'com.google.android.material:material:1.6.1'
    implementation 'androidx.constraintlayout:constraintlayout:2.1.4'

}