Skip to content

Commit 919b844

Browse files
inzkhanNishant-Pathak
authored andcommitted
some minor changes (#4)
1 parent 7ec8d14 commit 919b844

File tree

4 files changed

+25
-24
lines changed

4 files changed

+25
-24
lines changed

app/build.gradle

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ repositories {
55
}
66

77
android {
8-
compileSdkVersion 25
9-
buildToolsVersion "25.0.2"
8+
compileSdkVersion 27
9+
buildToolsVersion "27.0.2"
1010
defaultConfig {
1111
applicationId "com.nishant.mathsample"
12-
minSdkVersion 19
13-
targetSdkVersion 25
12+
minSdkVersion 17
13+
targetSdkVersion 27
1414
versionCode 1
1515
versionName "1.0"
1616
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
@@ -24,16 +24,16 @@ android {
2424
}
2525

2626
dependencies {
27-
compile 'com.jakewharton:butterknife:8.4.0'
28-
annotationProcessor 'com.jakewharton:butterknife-compiler:8.4.0'
29-
30-
compile fileTree(dir: 'libs', include: ['*.jar'])
27+
implementation 'com.jakewharton:butterknife:8.8.1'
28+
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
29+
implementation fileTree(include: ['*.jar'], dir: 'libs')
3130
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
3231
exclude group: 'com.android.support', module: 'support-annotations'
3332
})
34-
// compile project(path: ':mathview-lib')
35-
compile 'com.github.Nishant-Pathak:MathView:v1.1'
36-
// compile 'com.github.Nishant-Pathak:App-Math:v0.6'
37-
compile 'com.android.support:appcompat-v7:25.2.0'
38-
testCompile 'junit:junit:4.12'
33+
// compile project(path: ':mathview-lib')
34+
implementation 'com.github.Nishant-Pathak:MathView:v1.1'
35+
// compile 'com.github.Nishant-Pathak:App-Math:v0.6'
36+
implementation 'com.android.support:appcompat-v7:27.0.2'
37+
androidTestImplementation 'junit:junit:4.12'
38+
compile project(path: ':mathview-lib')
3939
}

build.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33
buildscript {
44
repositories {
55
jcenter()
6+
google()
67
}
78
dependencies {
8-
classpath 'com.android.tools.build:gradle:2.2.3'
9+
classpath 'com.android.tools.build:gradle:3.0.1'
910
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5' // Add this line
1011
// NOTE: Do not place your application dependencies here; they belong
1112
// in the individual module build.gradle files
@@ -15,6 +16,7 @@ buildscript {
1516
allprojects {
1617
repositories {
1718
jcenter()
19+
google()
1820
}
1921
}
2022

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Mon Dec 28 10:00:20 PST 2015
1+
#Wed Dec 20 20:42:27 PKT 2017
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip

mathview-lib/build.gradle

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ apply plugin: 'com.android.library'
22
apply plugin: 'com.github.dcendents.android-maven'
33

44
android {
5-
compileSdkVersion 25
6-
buildToolsVersion "25.0.2"
5+
compileSdkVersion 27
6+
buildToolsVersion '27.0.2'
77
// publishNonDefault true
88

99
defaultConfig {
1010
minSdkVersion 17
11-
targetSdkVersion 25
11+
targetSdkVersion 27
1212
versionCode 1
1313
versionName '1.0'
1414

@@ -18,13 +18,12 @@ android {
1818

1919
buildTypes {
2020
debug {
21-
consumerProguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
21+
//consumerProguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
2222
}
2323
release {
2424
minifyEnabled true
25-
shrinkResources true
26-
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
27-
consumerProguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
25+
// proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
26+
// consumerProguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
2827
}
2928
}
3029
}
@@ -43,7 +42,7 @@ dependencies {
4342
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
4443
exclude group: 'com.android.support', module: 'support-annotations'
4544
})
46-
compile 'com.android.support:appcompat-v7:25.1.0'
45+
compile 'com.android.support:appcompat-v7:27.0.2'
4746
testCompile 'junit:junit:4.12'
4847
}
4948

0 commit comments

Comments
 (0)