File tree 12 files changed +51
-41
lines changed
12 files changed +51
-41
lines changed Original file line number Diff line number Diff line change 2
2
.settings /
3
3
bin /
4
4
build /
5
+ .project
Original file line number Diff line number Diff line change 1
- apply plugin : ' android'
1
+ apply plugin : ' com. android.application '
2
2
3
3
android {
4
4
compileSdkVersion android_compile_version
@@ -20,10 +20,10 @@ android {
20
20
}
21
21
22
22
dependencies {
23
+ compile " com.android.support:appcompat-v7:${ appcompat_library_version} "
24
+ compile " com.android.support:support-v4:${ support_library_version} "
25
+ compile " com.google.android.gms:play-services:${ gms_library_version} "
23
26
compile project(' :libraries:BaseGameUtils' )
24
- compile android_appcompat_library
25
- compile android_support_library
26
- compile android_gms_library
27
27
}
28
28
29
29
buildscript {
Original file line number Diff line number Diff line change 1
- apply plugin : ' android'
1
+ apply plugin : ' com. android.application '
2
2
3
3
android {
4
4
compileSdkVersion android_compile_version
@@ -20,9 +20,9 @@ android {
20
20
}
21
21
22
22
dependencies {
23
- compile android_appcompat_library
24
- compile android_support_library
25
- compile android_gms_library
23
+ compile " com.android.support:appcompat-v7: ${ appcompat_library_version } "
24
+ compile " com.android.support:support-v4: ${ support_library_version } "
25
+ compile " com.google.android.gms:play-services: ${ gms_library_version } "
26
26
compile project(' :libraries:BaseGameUtils' )
27
27
}
28
28
Original file line number Diff line number Diff line change 1
- apply plugin : ' android'
1
+ apply plugin : ' com. android.application '
2
2
3
3
android {
4
4
compileSdkVersion android_compile_version
@@ -20,9 +20,9 @@ android {
20
20
}
21
21
22
22
dependencies {
23
- compile android_appcompat_library
24
- compile android_support_library
25
- compile android_gms_library
23
+ compile " com.android.support:appcompat-v7: ${ appcompat_library_version } "
24
+ compile " com.android.support:support-v4: ${ support_library_version } "
25
+ compile " com.google.android.gms:play-services: ${ gms_library_version } "
26
26
compile project(' :libraries:BaseGameUtils' )
27
27
}
28
28
Original file line number Diff line number Diff line change 1
- apply plugin : ' android'
1
+ apply plugin : ' com. android.application '
2
2
3
3
android {
4
4
compileSdkVersion android_compile_version
@@ -20,10 +20,10 @@ android {
20
20
}
21
21
22
22
dependencies {
23
+ compile " com.android.support:appcompat-v7:${ appcompat_library_version} "
24
+ compile " com.android.support:support-v4:${ support_library_version} "
25
+ compile " com.google.android.gms:play-services:${ gms_library_version} "
23
26
compile project(' :libraries:BaseGameUtils' )
24
- compile android_appcompat_library
25
- compile android_support_library
26
- compile android_gms_library
27
27
}
28
28
29
29
buildscript {
Original file line number Diff line number Diff line change 1
- apply plugin : ' android'
1
+ apply plugin : ' com. android.application '
2
2
3
3
android {
4
4
enforceUniquePackageName= false
@@ -22,10 +22,10 @@ android {
22
22
}
23
23
24
24
dependencies {
25
+ compile " com.android.support:appcompat-v7:${ appcompat_library_version} "
26
+ compile " com.android.support:support-v4:${ support_library_version} "
27
+ compile " com.google.android.gms:play-services:${ gms_library_version} "
25
28
compile project(' :libraries:BaseGameUtils' )
26
- compile android_appcompat_library
27
- compile android_support_library
28
- compile android_gms_library
29
29
}
30
30
31
31
buildscript {
Original file line number Diff line number Diff line change 1
- apply plugin : ' android'
1
+ apply plugin : ' com. android.application '
2
2
3
3
android {
4
4
enforceUniquePackageName= false
@@ -23,10 +23,10 @@ android {
23
23
}
24
24
25
25
dependencies {
26
+ compile " com.android.support:appcompat-v7:${ appcompat_library_version} "
27
+ compile " com.android.support:support-v4:${ support_library_version} "
28
+ compile " com.google.android.gms:play-services:${ gms_library_version} "
26
29
compile project(' :libraries:BaseGameUtils' )
27
- compile android_appcompat_library
28
- compile android_support_library
29
- compile android_gms_library
30
30
}
31
31
32
32
buildscript {
Original file line number Diff line number Diff line change 1
- apply plugin : ' android'
1
+ apply plugin : ' com. android.application '
2
2
3
3
android {
4
4
compileSdkVersion android_compile_version
@@ -14,9 +14,9 @@ android {
14
14
}
15
15
16
16
dependencies {
17
- compile android_appcompat_library
18
- compile android_support_library
19
- compile android_gms_library
17
+ compile " com.android.support:appcompat-v7: ${ appcompat_library_version } "
18
+ compile " com.android.support:support-v4: ${ support_library_version } "
19
+ compile " com.google.android.gms:play-services: ${ gms_library_version } "
20
20
compile project(' :libraries:BaseGameUtils' )
21
21
}
22
22
Original file line number Diff line number Diff line change 1
- apply plugin : ' android'
1
+ apply plugin : ' com. android.application '
2
2
3
3
android {
4
4
enforceUniquePackageName= false
@@ -22,10 +22,10 @@ android {
22
22
}
23
23
24
24
dependencies {
25
+ compile " com.android.support:appcompat-v7:${ appcompat_library_version} "
26
+ compile " com.android.support:support-v4:${ support_library_version} "
27
+ compile " com.google.android.gms:play-services:${ gms_library_version} "
25
28
compile project(' :libraries:BaseGameUtils' )
26
- compile android_appcompat_library
27
- compile android_support_library
28
- compile android_gms_library
29
29
}
30
30
31
31
buildscript {
Original file line number Diff line number Diff line change 8
8
9
9
http://www.apache.org/licenses/LICENSE-2.0
10
10
11
- Unless required by applicable law or agreed to in writing, software
11
+ Unless required byhttps://www.google.com/about/careers/ applicable law or agreed to in writing, software
12
12
distributed under the License is distributed on an "AS IS" BASIS,
13
13
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
14
See the License for the specific language governing permissions and
Original file line number Diff line number Diff line change 4
4
5
5
buildscript {
6
6
dependencies {
7
- classpath ' com.android.tools.build:gradle:1.1 .0'
7
+ classpath ' com.android.tools.build:gradle:1.0 .0'
8
8
}
9
9
}
10
10
@@ -19,9 +19,9 @@ allprojects {
19
19
android_version = ' 20'
20
20
android_min_sdk_version = 9
21
21
22
- android_appcompat_library = ' com.android.support:appcompat-v7: 20.0.+'
23
- android_support_library = ' com.android.support:support-v4: 20.0.+'
24
- android_gms_library = ' com.google.android.gms:play-services: 6.5+'
22
+ appcompat_library_version = ' 20.0.+'
23
+ support_library_version = ' 20.0.+'
24
+ gms_library_version = ' 6.5+'
25
25
}
26
26
}
27
27
Original file line number Diff line number Diff line change 1
- apply plugin : ' android- library'
1
+ apply plugin : ' com. android. library'
2
2
3
3
4
4
buildscript {
@@ -12,9 +12,18 @@ buildscript {
12
12
}
13
13
14
14
dependencies {
15
- compile android_appcompat_library
16
- compile android_support_library
17
- compile android_gms_library
15
+ android_compile_version = 20
16
+ android_version = ' 20'
17
+ android_min_sdk_version = 9
18
+
19
+ // Set defaults so that BaseGameUtils can be used outside of BasicSamples
20
+ appcompat_library_version = appcompat_library_version ?: ' 20.0.+'
21
+ support_library_version = support_library_version ?: ' 20.0.+'
22
+ gms_library_version = gms_library_version ?: ' 6.5+'
23
+
24
+ compile " com.android.support:appcompat-v7:${ appcompat_library_version} "
25
+ compile " com.android.support:support-v4:${ support_library_version} "
26
+ compile " com.google.android.gms:play-services:${ gms_library_version} "
18
27
}
19
28
20
29
android {
You can’t perform that action at this time.
0 commit comments