mirror of
https://github.com/lightsoutgames/godot-tts
synced 2024-11-22 03:15:57 +00:00
WIP: Try downloading Godot AAR.
This commit is contained in:
parent
e0f419aaf6
commit
30a82fc6b0
13
WORKSPACE
13
WORKSPACE
|
@ -1,13 +1,20 @@
|
||||||
# Load the Android build rules
|
# Load the Android build rules
|
||||||
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive", "http_file")
|
||||||
|
|
||||||
http_archive(
|
http_archive(
|
||||||
name = "build_bazel_rules_android",
|
name = "build_bazel_rules_android",
|
||||||
urls = ["https://github.com/bazelbuild/rules_android/archive/v0.1.1.zip"],
|
|
||||||
sha256 = "cd06d15dd8bb59926e4d65f9003bfc20f9da4b2519985c27e190cddc8b7a7806",
|
sha256 = "cd06d15dd8bb59926e4d65f9003bfc20f9da4b2519985c27e190cddc8b7a7806",
|
||||||
strip_prefix = "rules_android-0.1.1",
|
strip_prefix = "rules_android-0.1.1",
|
||||||
|
urls = ["https://github.com/bazelbuild/rules_android/archive/v0.1.1.zip"],
|
||||||
)
|
)
|
||||||
|
|
||||||
# Configure Android SDK Path
|
# Configure Android SDK Path
|
||||||
load("@build_bazel_rules_android//android:rules.bzl", "android_sdk_repository", "aar_import", "android_library")
|
load("@build_bazel_rules_android//android:rules.bzl", "aar_import", "android_library", "android_sdk_repository")
|
||||||
|
|
||||||
android_sdk_repository(name = "androidsdk")
|
android_sdk_repository(name = "androidsdk")
|
||||||
|
|
||||||
|
http_file(
|
||||||
|
name = "godot_lib",
|
||||||
|
sha256 = "20c87d8aff967541985efd42ebe11f8c2c336b3a7681b8bbf714707cd7399639",
|
||||||
|
urls = ["https://downloads.tuxfamily.org/godotengine/3.2.2/godot-lib.3.2.2.stable.release.aar"],
|
||||||
|
)
|
||||||
|
|
|
@ -2,7 +2,7 @@ load("@build_bazel_rules_android//android:rules.bzl", "aar_import", "android_lib
|
||||||
|
|
||||||
aar_import(
|
aar_import(
|
||||||
name = "godot",
|
name = "godot",
|
||||||
aar = "godot-lib.3.2.2.stable.release.aar",
|
aar = "@godot_lib",
|
||||||
)
|
)
|
||||||
|
|
||||||
android_library(
|
android_library(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user