42 lines
		
	
	
		
			874 B
		
	
	
	
		
			Groovy
		
	
	
	
	
	
			
		
		
	
	
			42 lines
		
	
	
		
			874 B
		
	
	
	
		
			Groovy
		
	
	
	
	
	
| apply plugin: 'com.android.library'
 | |
| 
 | |
| android {
 | |
| 
 | |
|     compileSdkVersion config['compile-sdk']
 | |
|     buildToolsVersion config['build-tools']
 | |
| 
 | |
|     defaultConfig {
 | |
|         minSdkVersion config['min-sdk']
 | |
|         targetSdkVersion config['target-sdk']
 | |
|         versionCode 1
 | |
|         versionName version
 | |
|     }
 | |
| }
 | |
| 
 | |
| dependencies {
 | |
| 
 | |
|     api project(':markwon-html-parser-api')
 | |
|     api project(':markwon-html-parser-impl')
 | |
| 
 | |
|     deps.with {
 | |
|         api it['support-annotations']
 | |
|         api it['commonmark']
 | |
|         api it['commonmark-strikethrough']
 | |
|         api it['commonmark-table']
 | |
|     }
 | |
| 
 | |
|     deps['test'].with {
 | |
|         testImplementation it['junit']
 | |
|         testImplementation it['robolectric']
 | |
|         testImplementation it['ix-java']
 | |
|     }
 | |
| }
 | |
| 
 | |
| afterEvaluate {
 | |
|     generateReleaseBuildConfig.enabled = false
 | |
| }
 | |
| 
 | |
| if (hasProperty('release')) {
 | |
|     apply from: config['push-aar-gradle']
 | |
| }
 | 
