Skip to content

Commit 856a4be

Browse files
Update build.gradle.kts
1 parent 897220b commit 856a4be

File tree

1 file changed

+19
-8
lines changed

1 file changed

+19
-8
lines changed

core/app/build.gradle.kts

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
/*
2-
* This file is part of AndroidIDE.
2+
* This file is part of AndroidCodeStudio.
3+
*
4+
* AndroidCodeStudio is free software: you can redistribute it and/or modify
5+
* it under the terms of the GNU General Public License as published by
6+
* the Free Software Foundation, either version 3 of the License, or
7+
* (at your option) any later version.
8+
*
9+
* AndroidCodeStudio is distributed in the hope that it will be useful,
10+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
* GNU General Public License for more details.
13+
*
14+
* You should have received a copy of the GNU General Public License
15+
* along with AndroidCodeStudio. If not, see <https://www.gnu.org/licenses/>.
316
*/
417

518
@file:Suppress("UnstableApiUsage")
@@ -29,8 +42,7 @@ buildscript {
2942
}
3043
}
3144

32-
// ⚠️ यह पूरा ब्लॉक हटा दिया गया क्योंकि यह desugaring tasks को disable कर देता था,
33-
// जिससे build fail होता था। अब desugaring सामान्य रूप से चलेगी।
45+
// ❌ पुराना block जो desugaring tasks को बंद करता था, अब हटा दिया गया है।
3446
// tasks.configureEach {
3547
// if (name.contains("desugar", ignoreCase = true)) {
3648
// enabled = false
@@ -60,7 +72,7 @@ android {
6072

6173
experimentalProperties["android.experimental.enableGlobalSynthetics"] = true
6274

63-
// ⚠️ 'cruncherEnabled' AGP 8+ में हटा दी गई है, इसलिए इसे हटाया गया
75+
// 'cruncherEnabled' AGP 8+ में हटा दी गई है – अब इसकी जरूरत नहीं
6476
// aaptOptions {
6577
// cruncherEnabled = false
6678
// }
@@ -83,7 +95,7 @@ android {
8395
buildFeatures {
8496
aidl = true
8597
dataBinding = true
86-
// buildConfig = true // AGP 8+ के लिए यह लाइन जरूरी हो सकती है, लेकिन gradle.properties में पहले से सेट है
98+
// buildConfig = true // AGP 8+ के लिए यह जरूरी हो सकता है, gradle.properties में पहले से है
8799
}
88100

89101
buildTypes {
@@ -223,9 +235,8 @@ dependencies {
223235
implementation(projects.utilities.preferences)
224236
implementation(projects.utilities.templatesApi)
225237
implementation(projects.utilities.templatesImpl)
226-
// ⚠️ सुनिश्चित करें कि 'treeview' module settings.gradle.kts में include है।
227-
// अगर यह module मौजूद नहीं है तो यह line हटा दें या सही module लगाएँ।
228-
implementation(projects.treeview)
238+
// ✅ सही path: utilities/treeview (settings.gradle.kts में include है)
239+
implementation(projects.utilities.treeview)
229240
implementation(projects.utilities.uidesigner)
230241
implementation(projects.utilities.xmlInflater)
231242
implementation(projects.xml.aaptcompiler)

0 commit comments

Comments
 (0)