1- buildscript {
2- repositories {
3- google()
4- mavenCentral()
5- }
6-
7- dependencies {
8- classpath ' com.android.tools.build:gradle:8.13.2'
9- }
1+ plugins {
2+ alias(libs. plugins. android. application)
103}
114
12- apply plugin : ' com.android.application'
13-
145android {
6+ enableKotlin = false
157 namespace = ' dk.bearware.gui'
16- compileSdk = 36
8+ compileSdk {
9+ version = release(36 )
10+ }
1711 buildToolsVersion = ' 36.1.0'
1812 ndkVersion = ' 29.0.14206865'
1913
20- buildFeatures {
21- buildConfig = true
22- viewBinding = true
23- }
24-
25- androidResources {
26- generateLocaleConfig = true
27- }
28-
2914 defaultConfig {
3015 applicationId = ' dk.bearware.gui'
3116 minSdk = 21
@@ -36,12 +21,28 @@ android {
3621 testInstrumentationRunner = ' androidx.test.runner.AndroidJUnitRunner'
3722 }
3823
24+ buildTypes {
25+ release {
26+ minifyEnabled = false
27+ proguardFiles getDefaultProguardFile(' proguard-android-optimize.txt' ), ' proguard-rules.pro'
28+ }
29+ }
30+
3931 compileOptions {
4032 sourceCompatibility = JavaVersion . VERSION_17
4133 targetCompatibility = JavaVersion . VERSION_17
4234 coreLibraryDesugaringEnabled = true
4335 }
4436
37+ buildFeatures {
38+ buildConfig = true
39+ viewBinding = true
40+ }
41+
42+ androidResources {
43+ generateLocaleConfig = true
44+ }
45+
4546 splits {
4647 abi {
4748 enable = true
@@ -51,47 +52,29 @@ android {
5152 }
5253 }
5354
54- buildTypes {
55- release {
56- minifyEnabled = false
57- proguardFiles getDefaultProguardFile(' proguard-android.txt' ), ' teamtalk-proguard-rules.txt'
58- }
59- }
60-
61- repositories {
62- google()
63- mavenCentral()
64- }
65-
6655 lint {
6756 disable ' MissingTranslation'
6857 }
6958}
7059
7160dependencies {
72- coreLibraryDesugaring ' com.android.tools:desugar_jdk_libs:2.1.5 '
73- implementation ' com.google.code. gson:gson:2.13.2 '
74- implementation ' androidx.annotation:annotation:1.9.1 '
75- implementation ' androidx.appcompat:appcompat:1.7.1 '
76- implementation ' androidx.core:core:1.17.0 '
77- implementation ' androidx.fragment:fragment:1.8.9 '
78- implementation ' androidx.media:media:1.7.1 '
79- implementation ' androidx.preference:preference:1.2.1 '
80- implementation ' androidx.viewpager:viewpager:1.1.0 '
81- implementation ' com.google.android. material:material:1.13.0 '
61+ coreLibraryDesugaring libs . desugar . jdk . libs
62+ implementation libs . gson
63+ implementation libs . androidx. annotation
64+ implementation libs . androidx. appcompat
65+ implementation libs . androidx. core
66+ implementation libs . androidx. fragment
67+ implementation libs . androidx. media
68+ implementation libs . androidx. preference
69+ implementation libs . androidx. viewpager
70+ implementation libs . material
8271 implementation files(' libs/TeamTalk5.jar' )
8372
84- // Required -- JUnit 4 framework
85- testImplementation ' junit:junit:4.13.2'
73+ testImplementation libs. junit
8674 testImplementation files(' libs/TeamTalk5Test.jar' )
8775
88- // Core library
89- androidTestImplementation ' androidx.test:core:1.7.0'
90-
91- // AndroidJUnitRunner and JUnit Rules
92- androidTestImplementation ' androidx.test:runner:1.7.0'
93- androidTestImplementation ' androidx.test:rules:1.7.0'
94-
95- // Assertions
76+ androidTestImplementation libs. androidx. test. core
77+ androidTestImplementation libs. androidx. test. runner
78+ androidTestImplementation libs. androidx. test. rules
9679 androidTestImplementation files(' libs/TeamTalk5Test.jar' )
9780}
0 commit comments