feat:update android project settings
This commit is contained in:
parent
fa1c1a1948
commit
82aa3421c6
@ -24,6 +24,14 @@ android {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
afterEvaluate {
|
||||||
|
buildJSBundle.exec()
|
||||||
|
}
|
||||||
|
|
||||||
|
task buildJSBundle(type: Exec) {
|
||||||
|
commandLine 'sh', project.getProjectDir().getParent() + "/../bundle.sh"
|
||||||
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
||||||
implementation 'androidx.appcompat:appcompat:1.1.0'
|
implementation 'androidx.appcompat:appcompat:1.1.0'
|
||||||
|
@ -23,17 +23,10 @@ android {
|
|||||||
}
|
}
|
||||||
sourceSets {
|
sourceSets {
|
||||||
main {
|
main {
|
||||||
assets.srcDirs = [project.getProjectDir().getParentFile().getParent() + "/doric-js/bundle"]
|
assets.srcDirs = ["../../doric-js/bundle"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
afterEvaluate {
|
|
||||||
buildJSBundle.exec()
|
|
||||||
}
|
|
||||||
|
|
||||||
task buildJSBundle(type: Exec) {
|
|
||||||
commandLine 'sh', project.getProjectDir().getParent() + "/../bundle.sh"
|
|
||||||
}
|
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
||||||
|
Reference in New Issue
Block a user