Skip to content

Commit 74ef14d

Browse files
committed
fix: simplify build.gradle by removing unnecessary sections and retaining essential configurations
1 parent ed0952a commit 74ef14d

File tree

1 file changed

+13
-19
lines changed

1 file changed

+13
-19
lines changed

android/build.gradle

Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,18 @@
1-
// Top-level build file where you can add configuration options common to all sub-projects/modules.
1+
apply plugin: 'com.android.library'
22

3-
buildscript {
4-
repositories {
5-
google()
6-
mavenCentral()
7-
}
8-
dependencies {
9-
classpath 'com.android.tools.build:gradle:1.3.0'
3+
android {
4+
namespace "com.microsoft.codepush.react"
5+
compileSdkVersion 33
106

11-
// NOTE: Do not place your application dependencies here; they belong
12-
// in the individual module build.gradle files
7+
defaultConfig {
8+
minSdkVersion 21
9+
targetSdkVersion 33
10+
versionCode 1
11+
versionName "1.0"
1312
}
1413
}
1514

16-
allprojects {
17-
android {
18-
namespace "com.microsoft.codepush.react"
19-
}
20-
repositories {
21-
mavenLocal()
22-
mavenCentral()
23-
}
24-
}
15+
repositories {
16+
mavenLocal()
17+
mavenCentral()
18+
}

0 commit comments

Comments
 (0)