stepstead-client/native/stepcounter-android/build.gradle
jts 6a1706051d İlk commit: Stepstead Godot istemci (4.6 Mobile)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-11 11:31:35 +03:00

38 lines
1.2 KiB
Groovy
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// StepCounter — Godot 4 Android plugin (AAR)
// Derleme (Mac, Android SDK + JDK 17):
// 1. godot-lib.<sürüm>.release.aar dosyasını libs/ içine koy
// (Godot editöründen: AndroidStudio export template, veya
// https://github.com/godotengine/godot/releases içindeki
// godot-lib aar — Godot 4.6 ile eşleşmeli)
// 2. ./gradlew assembleRelease
// 3. Çıktı: build/outputs/aar/stepcounter-release.aar
// 4. AAR'ı res://addons/stepcounter/ altına kopyala
plugins {
id 'com.android.library'
id 'org.jetbrains.kotlin.android'
}
android {
namespace 'com.stepstead.stepcounter'
compileSdk 34
defaultConfig {
minSdk 24 // Android 7.0 — TYPE_STEP_COUNTER için yeterli
targetSdk 34
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = '17'
}
}
dependencies {
// Godot kütüphanesi — sürüm Godot editörüyle birebir eşleşmeli (4.6)
compileOnly fileTree(dir: 'libs', include: ['godot-lib.*.aar'])
implementation 'org.jetbrains.kotlin:kotlin-stdlib:2.1.0'
}