This repository was archived by the owner on Oct 3, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 9 files changed +37
-35
lines changed Expand file tree Collapse file tree 9 files changed +37
-35
lines changed Original file line number Diff line number Diff line change 1
1
language : android
2
-
3
- jdk :
4
- - oraclejdk8
2
+ jdk : oraclejdk8
5
3
6
4
before_cache :
7
- - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
8
-
5
+ - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
6
+ - rm -fr $HOME/.gradle/caches/*/plugin-resolution/
9
7
cache :
10
8
directories :
11
9
- $HOME/.gradle/caches/
@@ -14,10 +12,9 @@ cache:
14
12
android :
15
13
components :
16
14
- tools
17
- - build-tools-24.0.2
18
- - android-24
19
15
- platform-tools
16
+ - build-tools-25.0.0
17
+ - android-25
20
18
- extra-android-m2repository
21
19
22
- script :
23
- ./gradlew build
20
+ script : ./gradlew build
Original file line number Diff line number Diff line change 1
1
apply plugin : ' com.android.application'
2
2
3
3
android {
4
- compileSdkVersion 24
5
- buildToolsVersion " 24.0.2 "
4
+ compileSdkVersion compileSdk
5
+ buildToolsVersion buildTools
6
6
7
7
defaultConfig {
8
8
applicationId " pub.devrel.easypermissions.sample"
9
9
minSdkVersion 9
10
- targetSdkVersion 24
10
+ targetSdkVersion targetSdk
11
11
versionCode 1
12
12
versionName " 1.0"
13
13
}
@@ -20,7 +20,7 @@ android {
20
20
}
21
21
22
22
dependencies {
23
- compile ' com.android.support:appcompat-v7:24.2.1 '
23
+ compile " com.android.support:appcompat-v7:${ support_library_version } "
24
24
25
25
compile project(' :easypermissions' )
26
26
}
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ buildscript {
5
5
jcenter()
6
6
}
7
7
dependencies {
8
- classpath ' com.android.tools.build:gradle:2.2.1 '
8
+ classpath ' com.android.tools.build:gradle:2.2.2 '
9
9
10
10
classpath ' com.github.dcendents:android-maven-gradle-plugin:1.5'
11
11
classpath ' com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.1'
@@ -21,3 +21,22 @@ allprojects {
21
21
task clean (type : Delete ) {
22
22
delete rootProject. buildDir
23
23
}
24
+
25
+ ext {
26
+ projectName = ' EasyPermissions'
27
+ projectDesc = ' A wrapper library for basic Android M system permissions logic'
28
+
29
+ githubUrl = ' https://github.com/googlesamples/easypermissions'
30
+
31
+ mavenGroup = ' pub.devrel'
32
+ mavenArtifactId = ' easypermissions'
33
+ mavenVersion = ' 0.2.1'
34
+
35
+ bintrayOrg = ' easygoogle'
36
+
37
+ support_library_version = ' 25.0.0'
38
+
39
+ buildTools = ' 25.0.0'
40
+ compileSdk = 25
41
+ targetSdk = 25
42
+ }
Original file line number Diff line number Diff line change 1
1
apply plugin : ' com.jfrog.bintray'
2
- apply from : ' constants.gradle'
3
2
4
3
group = mavenGroup
5
4
version = mavenVersion
Original file line number Diff line number Diff line change 1
1
apply plugin : ' com.android.library'
2
- apply from : ' constants.gradle'
3
2
4
3
android {
5
- compileSdkVersion 24
6
- buildToolsVersion " 24.0.2 "
4
+ compileSdkVersion compileSdk
5
+ buildToolsVersion buildTools
7
6
8
7
defaultConfig {
9
8
minSdkVersion 9
10
- targetSdkVersion 24
9
+ targetSdkVersion targetSdk
11
10
versionCode 1
12
- versionName " $ mavenVersion "
11
+ versionName mavenVersion
13
12
}
14
13
15
14
buildTypes {
@@ -25,7 +24,7 @@ android {
25
24
}
26
25
27
26
dependencies {
28
- compile ' com.android.support:appcompat-v7:24.2.1 '
27
+ compile " com.android.support:appcompat-v7:${ support_library_version } "
29
28
}
30
29
31
30
apply from : ' maven.gradle'
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
apply plugin : ' com.github.dcendents.android-maven'
2
- apply from : ' constants.gradle'
3
2
4
3
install {
5
4
repositories. mavenInstaller {
Original file line number Diff line number Diff line change 11
11
# The setting is particularly useful for tweaking memory settings.
12
12
# Default value: -Xmx10248m -XX:MaxPermSize=256m
13
13
# org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
14
+ org.gradle.jvmargs =-Xmx1536m
14
15
15
16
# When configured, Gradle will run in incubating parallel mode.
16
17
# This option should only be used with decoupled projects. More details, visit
Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
3
3
distributionPath =wrapper/dists
4
4
zipStoreBase =GRADLE_USER_HOME
5
5
zipStorePath =wrapper/dists
6
- distributionUrl =https\://services.gradle.org/distributions/gradle-2.14 .1-all.zip
6
+ distributionUrl =https\://services.gradle.org/distributions/gradle-3 .1-all.zip
You can’t perform that action at this time.
0 commit comments