İlk commit: Stepstead Godot istemci (4.6 Mobile)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
commit
6a1706051d
346 changed files with 14415 additions and 0 deletions
38
native/stepcounter-android/build.gradle
Normal file
38
native/stepcounter-android/build.gradle
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
// 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'
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue