55 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			Groovy
		
	
	
	
	
	
			
		
		
	
	
			55 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			Groovy
		
	
	
	
	
	
| apply plugin: 'com.android.application'
 | |
| 
 | |
| apply plugin: 'kotlin-android'
 | |
| 
 | |
| apply plugin: 'kotlin-android-extensions'
 | |
| 
 | |
| android {
 | |
|     signingConfigs {
 | |
|     }
 | |
|     compileSdkVersion 28
 | |
|     defaultConfig {
 | |
|         applicationId "org.mosad.seil0.projectlaogai"
 | |
|         minSdkVersion 21
 | |
|         targetSdkVersion 28
 | |
|         versionCode 12
 | |
|         versionName "0.4.0"
 | |
|         testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
 | |
|         resValue "string", "build_time", buildTime()
 | |
|         setProperty("archivesBaseName", "projectlaogai-$versionName")
 | |
|     }
 | |
| 
 | |
|     buildTypes {
 | |
|         release {
 | |
|             minifyEnabled false
 | |
|             shrinkResources false
 | |
|             proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
 | |
|         }
 | |
| 
 | |
|     }
 | |
|     compileOptions {
 | |
|     }
 | |
| }
 | |
| 
 | |
| dependencies {
 | |
|     implementation fileTree(include: ['*.jar'], dir: 'libs')
 | |
|     implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
 | |
|     implementation 'org.jetbrains.anko:anko-commons:0.10.8'
 | |
|     implementation 'androidx.appcompat:appcompat:1.0.2'
 | |
|     implementation 'androidx.legacy:legacy-support-v4:1.0.0'
 | |
|     implementation 'androidx.constraintlayout:constraintlayout:2.0.0-alpha3'
 | |
|     implementation 'com.google.android.material:material:1.0.0'
 | |
|     implementation 'com.google.code.gson:gson:2.8.5'
 | |
|     implementation 'com.afollestad:aesthetic:1.0.0-beta05'
 | |
|     implementation 'com.afollestad.material-dialogs:core:2.6.0'
 | |
|     implementation 'com.afollestad.material-dialogs:color:2.6.0'
 | |
| 
 | |
| 
 | |
|     testImplementation 'junit:junit:4.12'
 | |
|     androidTestImplementation 'androidx.test:runner:1.1.1'
 | |
|     androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
 | |
| }
 | |
| 
 | |
| static def buildTime() {
 | |
|     return new Date().format("yyyy-MM-dd", TimeZone.getTimeZone("UTC"))
 | |
| } |