File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 components :
66 - platform-tools
77 - tools
8- - build-tools-25 .0.2
8+ - build-tools-27 .0.3
99 - android-25
1010 - extra-android-support
1111 - extra-android-m2repository
Original file line number Diff line number Diff line change @@ -36,14 +36,14 @@ dependencies {
3636
3737Usage
3838-----
39- In your layout:
39+ ### In your layout:
4040``` xml
4141 <com .nishant.math.MathView
4242 android : id =" @+id/math_view"
4343 android : layout_width =" match_parent"
4444 android : layout_height =" wrap_content" >
4545```
46- In Activity:
46+ ### In Activity:
4747``` java
4848 @BindView (R . id. math_view)
4949 MathView mathView;
@@ -56,6 +56,14 @@ In Activity:
5656 }
5757```
5858
59+
60+ ###Proguard-rules:
61+ ```
62+
63+ -keepattributes EnclosingMethod
64+ -keep class com.nishant.** { *; }
65+ ```
66+
5967License
6068=======
6169Copyright (C) 2016 - 2017 Nishant Pathak
Original file line number Diff line number Diff line change @@ -6,18 +6,18 @@ repositories {
66
77android {
88 compileSdkVersion 27
9- buildToolsVersion " 27.0.2 "
9+ buildToolsVersion ' 27.0.3 '
1010 defaultConfig {
11- applicationId " com.nishant.mathsample"
11+ applicationId ' com.nishant.mathsample'
1212 minSdkVersion 17
1313 targetSdkVersion 27
1414 versionCode 1
15- versionName " 1.0"
16- testInstrumentationRunner " android.support.test.runner.AndroidJUnitRunner"
15+ versionName ' 1.0'
16+ testInstrumentationRunner ' android.support.test.runner.AndroidJUnitRunner'
1717 }
1818 buildTypes {
1919 release {
20- minifyEnabled false
20+ minifyEnabled true
2121 proguardFiles getDefaultProguardFile(' proguard-android.txt' ), ' proguard-rules.pro'
2222 }
2323 }
@@ -30,9 +30,9 @@ dependencies {
3030 androidTestCompile(' com.android.support.test.espresso:espresso-core:2.2.2' , {
3131 exclude group : ' com.android.support' , module : ' support-annotations'
3232 })
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 '
33+
34+ // compile project(path: ':mathview-lib')
35+ implementation ' com.github.Nishant-Pathak:MathView:v1.2 '
3636 implementation ' com.android.support:appcompat-v7:27.0.2'
3737 androidTestImplementation ' junit:junit:4.12'
3838 compile project(path : ' :mathview-lib' )
Original file line number Diff line number Diff line change 1515#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
1616# public *;
1717#}
18+
19+ #------------- MathView Start -------------------
20+ -keepattributes EnclosingMethod
21+ -keep class com.nishant.** { *; }
22+ #------------- MathView End -------------------
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ apply plugin: 'com.github.dcendents.android-maven'
33
44android {
55 compileSdkVersion 27
6- buildToolsVersion ' 27.0.2 '
6+ buildToolsVersion ' 27.0.3 '
77// publishNonDefault true
88
99 defaultConfig {
Original file line number Diff line number Diff line change 1515#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
1616# public *;
1717#}
18-
19- -keepattributes EnclosingMethod
20- -keep class com.nishant.** { *; }
You can’t perform that action at this time.
0 commit comments