1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-04 03:40:07 +00:00

Projucer: Use assignments in generated build.gradle

This commit is contained in:
reuk 2026-01-30 14:08:11 +00:00
parent 15d0d170e6
commit 3904381e7d
No known key found for this signature in database
5 changed files with 29 additions and 29 deletions

View file

@ -3,13 +3,13 @@ apply plugin: 'com.android.application'
def ndkVersionString = "28.1.13356709"
android {
compileSdk 35
ndkVersion ndkVersionString
namespace "com.rmsl.jucedemorunner"
compileSdk = 35
ndkVersion = ndkVersionString
namespace = "com.rmsl.jucedemorunner"
externalNativeBuild {
cmake {
path "CMakeLists.txt"
version "3.22.1"
version = "3.22.1"
}
}
signingConfigs {
@ -38,13 +38,13 @@ android {
initWith debug
debuggable true
jniDebuggable true
signingConfig signingConfigs.juceSigning
signingConfig = signingConfigs.juceSigning
}
release {
initWith release
debuggable false
jniDebuggable false
signingConfig signingConfigs.juceSigning
signingConfig = signingConfigs.juceSigning
}
}

View file

@ -3,13 +3,13 @@ apply plugin: 'com.android.application'
def ndkVersionString = "28.1.13356709"
android {
compileSdk 35
ndkVersion ndkVersionString
namespace "com.juce.audioperformancetest"
compileSdk = 35
ndkVersion = ndkVersionString
namespace = "com.juce.audioperformancetest"
externalNativeBuild {
cmake {
path "CMakeLists.txt"
version "3.22.1"
version = "3.22.1"
}
}
signingConfigs {
@ -38,13 +38,13 @@ android {
initWith debug
debuggable true
jniDebuggable true
signingConfig signingConfigs.juceSigning
signingConfig = signingConfigs.juceSigning
}
release {
initWith release
debuggable false
jniDebuggable false
signingConfig signingConfigs.juceSigning
signingConfig = signingConfigs.juceSigning
}
}

View file

@ -3,13 +3,13 @@ apply plugin: 'com.android.application'
def ndkVersionString = "28.1.13356709"
android {
compileSdk 35
ndkVersion ndkVersionString
namespace "com.juce.audiopluginhost"
compileSdk = 35
ndkVersion = ndkVersionString
namespace = "com.juce.audiopluginhost"
externalNativeBuild {
cmake {
path "CMakeLists.txt"
version "3.22.1"
version = "3.22.1"
}
}
signingConfigs {
@ -38,13 +38,13 @@ android {
initWith debug
debuggable true
jniDebuggable true
signingConfig signingConfigs.juceSigning
signingConfig = signingConfigs.juceSigning
}
release {
initWith release
debuggable false
jniDebuggable false
signingConfig signingConfigs.juceSigning
signingConfig = signingConfigs.juceSigning
}
}

View file

@ -3,13 +3,13 @@ apply plugin: 'com.android.application'
def ndkVersionString = "28.1.13356709"
android {
compileSdk 35
ndkVersion ndkVersionString
namespace "com.juce.networkgraphicsdemo"
compileSdk = 35
ndkVersion = ndkVersionString
namespace = "com.juce.networkgraphicsdemo"
externalNativeBuild {
cmake {
path "CMakeLists.txt"
version "3.22.1"
version = "3.22.1"
}
}
signingConfigs {
@ -38,13 +38,13 @@ android {
initWith debug
debuggable true
jniDebuggable true
signingConfig signingConfigs.juceSigning
signingConfig = signingConfigs.juceSigning
}
release {
initWith release
debuggable false
jniDebuggable false
signingConfig signingConfigs.juceSigning
signingConfig = signingConfigs.juceSigning
}
}

View file

@ -702,13 +702,13 @@ private:
mo << "def ndkVersionString = \"28.1.13356709\"" << newLine << newLine;
mo << "android {" << newLine;
mo << " compileSdk " << static_cast<int> (androidTargetSDK.get()) << newLine;
mo << " ndkVersion ndkVersionString" << newLine;
mo << " namespace " << project.getBundleIdentifierString().toLowerCase().quoted() << newLine;
mo << " compileSdk = " << static_cast<int> (androidTargetSDK.get()) << newLine;
mo << " ndkVersion = ndkVersionString" << newLine;
mo << " namespace = " << project.getBundleIdentifierString().toLowerCase().quoted() << newLine;
mo << " externalNativeBuild {" << newLine;
mo << " cmake {" << newLine;
mo << " path \"CMakeLists.txt\"" << newLine;
mo << " version \"3.22.1\"" << newLine;
mo << " version = \"3.22.1\"" << newLine;
mo << " }" << newLine;
mo << " }" << newLine;
@ -844,7 +844,7 @@ private:
mo << " initWith " << (config->isDebug() ? "debug" : "release") << newLine;
mo << " debuggable " << (config->isDebug() ? "true" : "false") << newLine;
mo << " jniDebuggable " << (config->isDebug() ? "true" : "false") << newLine;
mo << " signingConfig signingConfigs.juceSigning" << newLine;
mo << " signingConfig = signingConfigs.juceSigning" << newLine;
mo << " }" << newLine;
}