79 lines
		
	
	
		
			No EOL
		
	
	
		
			2.4 KiB
		
	
	
	
		
			Groovy
		
	
	
	
	
	
			
		
		
	
	
			79 lines
		
	
	
		
			No EOL
		
	
	
		
			2.4 KiB
		
	
	
	
		
			Groovy
		
	
	
	
	
	
plugins {
 | 
						|
    id 'com.android.application'
 | 
						|
    id 'kotlin-android'
 | 
						|
    id 'org.jetbrains.kotlin.android'
 | 
						|
}
 | 
						|
 | 
						|
android {
 | 
						|
    compileSdk 30
 | 
						|
    buildToolsVersion "30.0.3"
 | 
						|
 | 
						|
    defaultConfig {
 | 
						|
        applicationId "com.pixelized.biblib"
 | 
						|
        minSdk 23
 | 
						|
        targetSdk 30
 | 
						|
        versionCode 1
 | 
						|
        versionName "1.0"
 | 
						|
 | 
						|
        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
 | 
						|
        vectorDrawables {
 | 
						|
            useSupportLibrary true
 | 
						|
        }
 | 
						|
    }
 | 
						|
 | 
						|
    buildTypes {
 | 
						|
        release {
 | 
						|
            minifyEnabled false
 | 
						|
            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
 | 
						|
        }
 | 
						|
    }
 | 
						|
 | 
						|
    compileOptions {
 | 
						|
        sourceCompatibility JavaVersion.VERSION_1_8
 | 
						|
        targetCompatibility JavaVersion.VERSION_1_8
 | 
						|
    }
 | 
						|
 | 
						|
    kotlinOptions {
 | 
						|
        jvmTarget = '1.8'
 | 
						|
    }
 | 
						|
 | 
						|
    buildFeatures {
 | 
						|
        // Enables Jetpack Compose for this module
 | 
						|
        compose true
 | 
						|
    }
 | 
						|
 | 
						|
    composeOptions {
 | 
						|
        kotlinCompilerExtensionVersion '1.0.0-beta05'
 | 
						|
    }
 | 
						|
}
 | 
						|
 | 
						|
dependencies {
 | 
						|
    implementation 'androidx.core:core-ktx:1.3.2'
 | 
						|
    implementation 'androidx.appcompat:appcompat:1.2.0'
 | 
						|
    implementation 'com.google.android.material:material:1.3.0'
 | 
						|
 | 
						|
    // Android compose
 | 
						|
    implementation 'androidx.compose.ui:ui:1.0.0-beta06'
 | 
						|
    // Tooling support (Previews, etc.)
 | 
						|
    implementation 'androidx.compose.ui:ui-tooling:1.0.0-beta06'
 | 
						|
    // Foundation (Border, Background, Box, Image, Scroll, shapes, animations, etc.)
 | 
						|
    implementation 'androidx.compose.foundation:foundation:1.0.0-beta06'
 | 
						|
    // Material Design
 | 
						|
    implementation 'androidx.compose.material:material:1.0.0-beta06'
 | 
						|
    // Material design icons
 | 
						|
    implementation 'androidx.compose.material:material-icons-core:1.0.0-beta06'
 | 
						|
    implementation 'androidx.compose.material:material-icons-extended:1.0.0-beta06'
 | 
						|
    // Integration with activities
 | 
						|
    implementation 'androidx.activity:activity-compose:1.3.0-alpha07'
 | 
						|
    // Integration with ViewModels
 | 
						|
    implementation 'androidx.lifecycle:lifecycle-viewmodel-compose:1.0.0-alpha04'
 | 
						|
    // Integration with observables
 | 
						|
    implementation 'androidx.compose.runtime:runtime-livedata:1.0.0-beta06'
 | 
						|
    implementation 'androidx.compose.runtime:runtime-rxjava2:1.0.0-beta06'
 | 
						|
    // ConstraintLayout
 | 
						|
    implementation "androidx.constraintlayout:constraintlayout-compose:1.0.0-alpha06"
 | 
						|
 | 
						|
    // Test
 | 
						|
    testImplementation 'junit:junit:4.13.2'
 | 
						|
    androidTestImplementation "androidx.compose.ui:ui-test-junit4:1.0.0-beta06"
 | 
						|
} |