25 lines
595 B
Groovy
25 lines
595 B
Groovy
apply plugin: 'com.android.library'
|
|
|
|
def getStatusGoVersion = { ->
|
|
version = new File('../STATUS_GO_VERSION').text
|
|
return version.tokenize('\n').last().replaceAll("\\s","")
|
|
}
|
|
|
|
android {
|
|
compileSdkVersion 28
|
|
|
|
defaultConfig {
|
|
minSdkVersion 23
|
|
targetSdkVersion 28
|
|
versionCode 1
|
|
versionName "1.0"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'com.facebook.react:react-native:+' // from node_modules
|
|
compile 'com.github.status-im:function:0.0.1'
|
|
|
|
implementation(group: 'status-im', name: 'status-go', version: getStatusGoVersion(), ext: 'aar')
|
|
}
|