Skip to content

Commit b3feb49

Browse files
sdk gradle updated
1 parent eec8fdb commit b3feb49

File tree

1 file changed

+27
-16
lines changed

1 file changed

+27
-16
lines changed

android/build.gradle

Lines changed: 27 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,33 @@
11
group 'com.optimizely.optimizely_flutter_sdk'
22
version '1.0'
33

4-
buildscript {
4+
def version_name = System.getenv('TRAVIS_TAG')
5+
if (version_name != null) {
6+
rootProject.ext.version_name = version_name
7+
} else {
8+
rootProject.ext.version_name = 'debugVersion'
9+
}
510

6-
def version_name = System.getenv('TRAVIS_TAG')
7-
if (version_name != null) {
8-
rootProject.ext.version_name = version_name
9-
} else {
10-
rootProject.ext.version_name = 'debugVersion'
11-
}
1211

13-
repositories {
14-
google()
15-
mavenCentral()
16-
}
12+
// buildscript {
13+
14+
// def version_name = System.getenv('TRAVIS_TAG')
15+
// if (version_name != null) {
16+
// rootProject.ext.version_name = version_name
17+
// } else {
18+
// rootProject.ext.version_name = 'debugVersion'
19+
// }
20+
21+
// repositories {
22+
// google()
23+
// mavenCentral()
24+
// }
25+
26+
// dependencies {
27+
// classpath 'com.android.tools.build:gradle:7.2.1'
28+
// }
29+
// }
1730

18-
dependencies {
19-
classpath 'com.android.tools.build:gradle:7.2.1'
20-
}
21-
}
2231
configurations {
2332
all*.exclude group: 'com.google.guava', module: 'listenablefuture'
2433
}
@@ -29,7 +38,9 @@ rootProject.allprojects {
2938
}
3039
}
3140

32-
apply plugin: 'com.android.library'
41+
plugins {
42+
id "com.android.library"
43+
}
3344

3445
ext {
3546
compile_sdk_version = 32

0 commit comments

Comments
 (0)