Migrate to FlatBuffers and unify Mobile/TV modules

This commit is contained in:
John Doe committed 2025-12-25 02:14:09 +00:00
commit 2a4ee357ce
133 files changed
+7284

No files matched your search

+49
View File
@@ -0,0 +1,49 @@
plugins {
id 'com.android.library'
id 'kotlin-android'
}
apply from: project(':common').projectDir.absolutePath + '/variables.gradle'
android {
namespace 'com.hyperion.grabber.common'
compileSdk 34
defaultConfig {
minSdk 21
targetSdk 34
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true
multiDexEnabled true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
compileOptions {
targetCompatibility JavaVersion.VERSION_17
sourceCompatibility JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = '17'
}
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation "androidx.core:core-ktx:1.12.0"
implementation "androidx.appcompat:appcompat:1.6.1"
implementation "androidx.constraintlayout:constraintlayout:2.1.4"
implementation "androidx.preference:preference-ktx:1.2.1"
implementation "androidx.localbroadcastmanager:localbroadcastmanager:1.1.0"
implementation 'com.google.flatbuffers:flatbuffers-java:23.5.26'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test:runner:1.5.2'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
}