Skip to content

Commit d18217a

Browse files
authored
Merge pull request #822 from defold/xcode-26_2_x
Update XCode to 26.2, MacOS SDK to 26.2, iOS SDK to 26.2
2 parents 2c22a09 + 1be7eb7 commit d18217a

12 files changed

Lines changed: 57 additions & 54 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ Ensure that on host is installed:
1818
Before running Extender you need to have prepackaged toolchains and sdks. Full instruction how it can be done you can find [here](https://github.com/defold/defold/tree/dev/scripts/package).
1919

2020
Ensure that you have the following tools packaged:
21-
* iPhoneOS18.2.sdk
22-
* iPhoneSimulator18.2.sdk
23-
* MacOSX15.2.sdk
24-
* XcodeDefault16.2.xctoolchain.darwin
21+
* iPhoneOS26.2.sdk
22+
* iPhoneSimulator26.2.sdk
23+
* MacOSX26.2.sdk
24+
* XcodeDefault26.2.xctoolchain.darwin
2525

2626
NOTE: Complete list of needed packages see [link](./server/scripts/standalone/setup-standalone-env.sh)
2727

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ if (project.hasProperty('publishToGar')) {
1010
publishing {
1111
repositories {
1212
maven {
13-
name "extenderRepo"
14-
url "artifactregistry://europe-west1-maven.pkg.dev/extender-426409/extender-maven/"
13+
name = "extenderRepo"
14+
url = uri("artifactregistry://europe-west1-maven.pkg.dev/extender-426409/extender-maven/")
1515
}
1616
}
1717
}
1818
}
1919

2020
wrapper {
21-
gradleVersion = '8.9'
21+
gradleVersion = '9.1'
2222
distributionType = Wrapper.DistributionType.ALL
2323
}

client/build.gradle

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@ plugins {
22
id 'java'
33
}
44

5-
sourceCompatibility = 1.8
5+
java {
6+
sourceCompatibility = JavaVersion.VERSION_1_8
7+
targetCompatibility = JavaVersion.VERSION_1_8
8+
}
69

710
repositories {
811
mavenCentral()
@@ -18,9 +21,9 @@ if (project.hasProperty('publishToGar')) {
1821
publications {
1922
extenderClient(MavenPublication) {
2023
artifact jar
21-
groupId 'com.defold.extender'
22-
artifactId 'client'
23-
version project.ext.clientVersion
24+
groupId = 'com.defold.extender'
25+
artifactId = 'client'
26+
version = project.ext.clientVersion
2427
}
2528
}
2629
}
@@ -46,4 +49,4 @@ dependencies {
4649

4750
test {
4851
useJUnitPlatform()
49-
}
52+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-all.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.1.0-all.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

server/build.gradle

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ buildscript {
66
mavenCentral()
77
}
88
dependencies {
9-
classpath 'io.spring.gradle:dependency-management-plugin:1.1.7'
109
classpath 'org.springframework.boot:spring-boot-gradle-plugin:3.5.5'
1110
}
1211
}
@@ -29,25 +28,17 @@ ext {
2928
}
3029

3130
configurations {
32-
// A configuration meant for consumers that need the API of this component
33-
implementation {
34-
canBeResolved = true
35-
}
3631
all*.exclude group: 'commons-logging', module: 'commons-logging'
3732
}
3833

3934
repositories {
4035
mavenCentral()
4136
}
4237

43-
dependencyManagement {
44-
imports {
45-
mavenBom 'com.google.cloud:spring-cloud-gcp-dependencies:7.4.0'
46-
mavenBom 'org.junit:junit-bom:5.13.4'
47-
}
48-
}
49-
5038
dependencies {
39+
implementation(platform("com.google.cloud:spring-cloud-gcp-dependencies:7.4.0"))
40+
testImplementation(platform("org.junit:junit-bom:5.13.4"))
41+
5142
implementation('org.springframework.boot:spring-boot-starter-web') {
5243
exclude module: 'spring-boot-starter-tomcat'
5344
}
@@ -175,9 +166,9 @@ if (project.hasProperty('publishToGar')) {
175166
publications {
176167
extender(MavenPublication) {
177168
artifact bootJar
178-
groupId 'com.defold.extender'
179-
artifactId 'server'
180-
version project.ext.extenderVersion
169+
groupId = 'com.defold.extender'
170+
artifactId = 'server'
171+
version = project.ext.extenderVersion
181172
}
182173
}
183174
}
@@ -224,4 +215,4 @@ jacocoTestReport {
224215
xml.required.set(true)
225216
html.required.set(true)
226217
}
227-
}
218+
}

server/envs/generate_user_env.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ OUTPUT_FILE=$ENV_DIR/user.env
3232
if [[ -z $1 ]]; then
3333
echo "Load macos environment..."
3434
source ${ENV_DIR}/macos.env
35-
APPENDED_PATH=${PLATFORMSDK_DIR}/XcodeDefault${XCODE_16_VERSION}.xctoolchain/usr/bin:/usr/local/bin:${PATH}
35+
APPENDED_PATH=${PLATFORMSDK_DIR}/XcodeDefault${XCODE_26_VERSION}.xctoolchain/usr/bin:/usr/local/bin:${PATH}
3636
else
3737
echo "Load $1 environment..."
3838
source ${ENV_DIR}/$1.env

server/envs/macos.env

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,10 @@ XCODE_16_VERSION=16.2
55
XCODE_16_CLANG_VERSION=16.0.0
66
MACOS_15_VERSION=15.2
77
IOS_18_VERSION=18.2
8+
SWIFT_6_2_VERSION=6.2
9+
IOS_26_VERSION_MIN=15.0
10+
MACOS_26_VERSION_MIN=11.5
11+
XCODE_26_VERSION=26.2
12+
XCODE_26_CLANG_VERSION=17.0.0
13+
MACOS_26_VERSION=26.2
14+
IOS_26_VERSION=26.2

server/manifestmergetool/build.gradle

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,11 @@ jar {
2020

2121

2222
configurations {
23-
// A configuration meant for consumers that need the API of this component
24-
implementation {
23+
// Resolvable configuration for shading contents into the fat jar
24+
implementationResolved {
2525
canBeResolved = true
26+
canBeConsumed = false
27+
extendsFrom implementation
2628
}
2729
all*.exclude group: 'com.android.tools', module: 'repository'
2830
all*.exclude group: 'com.android.tools', module: 'sdklib'
@@ -35,13 +37,13 @@ task mainJar(type: Jar) {
3537
attributes 'Main-Class': 'com.defold.manifestmergetool.ManifestMergeTool'
3638
}
3739
from {
38-
configurations.implementation.collect { it.isDirectory() ? it : zipTree(it) }
40+
configurations.implementationResolved.collect { it.isDirectory() ? it : zipTree(it) }
3941
} {
4042
exclude "META-INF/*.SF"
4143
exclude "META-INF/*.DSA"
4244
exclude "META-INF/*.RSA"
4345
}
44-
duplicatesStrategy DuplicatesStrategy.WARN
46+
duplicatesStrategy = DuplicatesStrategy.WARN
4547
with jar
4648
doLast {
4749
copy {
@@ -60,17 +62,17 @@ if (project.hasProperty('publishToGar')) {
6062
publications {
6163
manifestMergeTool(MavenPublication) {
6264
artifact mainJar
63-
groupId 'com.defold.extender'
64-
artifactId 'manifestmergetool'
65-
version project.ext.manifestMergetoolVersion
65+
groupId = 'com.defold.extender'
66+
artifactId = 'manifestmergetool'
67+
version = project.ext.manifestMergetoolVersion
6668
}
6769
}
6870
}
6971
}
7072

7173
repositories {
7274
mavenCentral()
73-
maven { url "https://maven.google.com" }
75+
maven { url = uri("https://maven.google.com") }
7476
}
7577

7678
dependencies {

server/scripts/standalone/setup-standalone-env.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -186,10 +186,10 @@ if [[ $(uname) == "Darwin" ]]; then
186186

187187
# Keep Apple's naming convention to avoid bugs
188188
PACKAGES=(
189-
iPhoneOS${IOS_18_VERSION}.sdk
190-
iPhoneSimulator${IOS_18_VERSION}.sdk
191-
MacOSX${MACOS_15_VERSION}.sdk
192-
XcodeDefault${XCODE_16_VERSION}.xctoolchain.darwin
189+
iPhoneOS${IOS_26_VERSION}.sdk
190+
iPhoneSimulator${IOS_26_VERSION}.sdk
191+
MacOSX${MACOS_26_VERSION}.sdk
192+
XcodeDefault${XCODE_26_VERSION}.xctoolchain.darwin
193193
)
194194
function download_packages() {
195195
for package_name in ${PACKAGES[@]}; do

server/src/main/resources/template.build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ android {
2121
compileSdkVersion {{compile-sdk-version}}
2222

2323
compileOptions {
24-
sourceCompatibility JavaVersion.VERSION_1_8
25-
targetCompatibility JavaVersion.VERSION_1_8
24+
sourceCompatibility = JavaVersion.VERSION_1_8
25+
targetCompatibility = JavaVersion.VERSION_1_8
2626
}
2727

2828
namespace = "com.defold.defold"

0 commit comments

Comments
 (0)