feat:update android project settings
This commit is contained in:
		| @@ -24,6 +24,14 @@ android { | ||||
|     } | ||||
| } | ||||
|  | ||||
| afterEvaluate { | ||||
|     buildJSBundle.exec() | ||||
| } | ||||
|  | ||||
| task buildJSBundle(type: Exec) { | ||||
|     commandLine 'sh', project.getProjectDir().getParent() + "/../bundle.sh" | ||||
| } | ||||
|  | ||||
| dependencies { | ||||
|     implementation fileTree(dir: 'libs', include: ['*.jar']) | ||||
|     implementation 'androidx.appcompat:appcompat:1.1.0' | ||||
|   | ||||
| @@ -23,17 +23,10 @@ android { | ||||
|     } | ||||
|     sourceSets { | ||||
|         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 { | ||||
|     implementation fileTree(dir: 'libs', include: ['*.jar']) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user