Skip to content

Commit

Permalink
MovingBlocks#5055 Unable to build Terasology on M1 Mac.
Browse files Browse the repository at this point in the history
  • Loading branch information
asotona committed Dec 8, 2022
1 parent f95b815 commit ced2809
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ repositories {
}
}

mavenLocal()

google {
// gestalt uses an annotation library from Google
content {
Expand Down
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ configurations {
dependencies {
// For the "natives" configuration make it depend on the native files from LWJGL
natives platform("org.lwjgl:lwjgl-bom:$LwjglVersion")
["natives-linux","natives-windows","natives-macos"].forEach {
["natives-linux","natives-windows","natives-macos","natives-macos-arm64"].forEach {
natives "org.lwjgl:lwjgl::$it"
natives "org.lwjgl:lwjgl-assimp::$it"
natives "org.lwjgl:lwjgl-glfw::$it"
Expand All @@ -109,10 +109,10 @@ dependencies {
codeMetrics group: 'org.terasology.config', name: 'codemetrics', version: '1.6.3', ext: 'zip'

// Natives for JNLua (Kallisti, KComputers)
natives group: 'org.terasology.jnlua', name: 'jnlua_natives', version: '0.1.0-SNAPSHOT', ext: 'zip'
natives group: 'org.terasology.jnlua', name: 'jnlua_natives', version: '0.1.1-SNAPSHOT', ext: 'zip'

// Natives for JNBullet
natives group: 'org.terasology.jnbullet', name: 'JNBullet', version: '1.0.2', ext: 'zip'
natives group: 'org.terasology.jnbullet', name: 'JNBullet', version: '1.0.4-SNAPSHOT', ext: 'zip'

}

Expand Down
6 changes: 3 additions & 3 deletions engine/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@ dependencies {

api group: 'org.terasology', name: 'TeraMath', version: '1.5.0'
api group: 'org.terasology', name: 'splash-screen', version: '1.1.1'
api group: 'org.terasology.jnlua', name: 'JNLua', version: '0.1.0-SNAPSHOT'
api group: 'org.terasology.jnbullet', name: 'JNBullet', version: '1.0.2'
api group: 'org.terasology.jnlua', name: 'JNLua', version: '0.1.1-SNAPSHOT'
api group: 'org.terasology.jnbullet', name: 'JNBullet', version: '1.0.4-SNAPSHOT'
api group: 'org.terasology.nui', name: 'nui', version: '3.0.0'
api group: 'org.terasology.nui', name: 'nui-reflect', version: '3.0.0'
api group: 'org.terasology.nui', name: 'nui-gestalt7', version: '3.0.0'
Expand All @@ -161,7 +161,7 @@ dependencies {

protobuf {
protoc {
artifact = 'com.google.protobuf:protoc:3.17.0'
artifact = 'com.google.protobuf:protoc:3.17.3'
}
plugins {
}
Expand Down

0 comments on commit ced2809

Please sign in to comment.