update commandline tool
This commit is contained in:
@@ -1,5 +1,12 @@
|
||||
import groovy.json.JsonSlurper
|
||||
|
||||
apply plugin: 'com.android.application'
|
||||
|
||||
def model = new JsonSlurper().parse(new File(project.rootDir.getParent() + File.separator + "package.json"))
|
||||
def doricSDKVersion = model.dependencies.doric.replace("^", "")
|
||||
|
||||
println("Doric Version:" + doricSDKVersion)
|
||||
|
||||
android {
|
||||
compileSdkVersion 29
|
||||
buildToolsVersion "29.0.2"
|
||||
@@ -28,8 +35,8 @@ android {
|
||||
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
||||
implementation 'androidx.appcompat:appcompat:1.1.0'
|
||||
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
|
||||
implementation "pub.doric:core:__$Version__"
|
||||
debugImplementation "pub.doric:devkit:__$Version__"
|
||||
implementation "pub.doric:core:$doricSDKVersion"
|
||||
debugImplementation "pub.doric:devkit:$doricSDKVersion"
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user