mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 10:13:15 +02:00
Add missing Qt dependencies to gradle script
This commit is contained in:
parent
8cac98545a
commit
6d732dd8ba
2 changed files with 18 additions and 4 deletions
|
@ -1,9 +1,5 @@
|
||||||
apply plugin: 'com.android.application'
|
apply plugin: 'com.android.application'
|
||||||
|
|
||||||
ext.RELEASE_NUMBER = project.hasProperty('RELEASE_NUMBER') ? project.getProperty('RELEASE_NUMBER') : '0'
|
|
||||||
ext.RELEASE_TYPE = project.hasProperty('RELEASE_TYPE') ? project.getProperty('RELEASE_TYPE') : 'DEV'
|
|
||||||
ext.BUILD_BRANCH = project.hasProperty('BUILD_BRANCH') ? project.getProperty('BUILD_BRANCH') : ''
|
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion 26
|
compileSdkVersion 26
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
|
|
|
@ -53,6 +53,8 @@ ext {
|
||||||
'Qt5WebSockets',
|
'Qt5WebSockets',
|
||||||
'Qt5Widgets',
|
'Qt5Widgets',
|
||||||
'Qt5XmlPatterns',
|
'Qt5XmlPatterns',
|
||||||
|
'Qt5Concurrent',
|
||||||
|
'Qt5Svg',
|
||||||
// Android specific
|
// Android specific
|
||||||
'Qt5AndroidExtras',
|
'Qt5AndroidExtras',
|
||||||
'Qt5WebView',
|
'Qt5WebView',
|
||||||
|
@ -502,6 +504,22 @@ task generateAssetsFileList() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
task copyInterfaceAssets() {
|
||||||
|
doLast {
|
||||||
|
def resourcesDir = new File("${appDir}/../../interface/resources")
|
||||||
|
def scriptsDir = new File("${appDir}/../../scripts")
|
||||||
|
def assetsDir = new File(appDir, 'src/main/assets')
|
||||||
|
copy {
|
||||||
|
from resourcesDir
|
||||||
|
into new File(assetsDir, "resources")
|
||||||
|
}
|
||||||
|
copy {
|
||||||
|
from scriptsDir
|
||||||
|
into new File(assetsDir, "scripts")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
// FIXME derive the path from the gradle environment
|
// FIXME derive the path from the gradle environment
|
||||||
def toolchain = [
|
def toolchain = [
|
||||||
|
|
Loading…
Reference in a new issue