From 6595bc65d5336c38fe73838834266f85e48c9b7e Mon Sep 17 00:00:00 2001 From: Behrouz Khezry Date: Fri, 9 Nov 2018 20:11:30 +0330 Subject: [PATCH] release version 1.2.5 with javadoc & source as jar file. --- .idea/caches/build_file_checksums.ser | Bin 585 -> 585 bytes .idea/caches/gradle_models.ser | Bin 232383 -> 232300 bytes app/build.gradle | 4 ++-- library/build.gradle | 27 ++++++++++++++++++++++++-- 4 files changed, 27 insertions(+), 4 deletions(-) diff --git a/.idea/caches/build_file_checksums.ser b/.idea/caches/build_file_checksums.ser index c732cb1c1be6514dd195db0108817512dd4c7c55..502d0106423587fc9202b63144ef6644e86fca18 100644 GIT binary patch delta 60 zcmV-C0K@;u1jz)DnFCnlBC(u70TawdJOv-eYGg!dCQCXjgbV2pZM^ diff --git a/.idea/caches/gradle_models.ser b/.idea/caches/gradle_models.ser index 59472e74d91bb471fca8ead064cce4ef4df6e439..b206ab1b98054a78a5dfdfca4579eadb819cab4e 100644 GIT binary patch delta 920 zcmb7?T}YEr7{}l9oOfGOHx<*IN@@y9epG&BYDJlq+J}x279_c}U`yxRrcTMJnTDD* zd()?kpa{AUBV)27B@CmB=q`dZf>gw!ki_buuIfGWLWyp=`NQ*jp7Vds|8RV$T^iDk z^(2aORWW)`f8uhin0|L~)YD#=A1KzpxK;1*l@3E#t3y!iNY6;mw$}?TlH7Ers7wk? zi3r~XKn_8SZwfMeMS8+vGL71)rEYW^9*5`zWL^a+d3W6}s zcD2AtU{Xk4jp?k-Xlu?h8yk()byW@_>~Bi1DVNG}b%`ouHOuLk}t1_ZkPx5F^djBuF9FAZGAEpH3k+6>rfU zNV?hYchKcl4f6%6U^Jd2S!P|SckpGFWR*e4fGlJSmpEQlu#pye zlaOKTsD*fyW|%`g-k*dpoU8>k>%2(gNo(4YJ sUt(P*A67acDTx0=tCbIE4ojA@Xta3Y0RNL3&|Je`PKag?x@nB!5Az^1y8r+H delta 824 zcmb7?T}YEr7{_;>^KS1pxB0Qiui^3|^dc9Vnp3kg1=T|7L7OTb9<5LWiqW%_VgOpmFA>~w5 zO2H;&?0sXSR(N&tR|iH{z&vJmPukst+1=pEPE=u21MrB5OZ|dEp;%(}LD)%RjT5jc zvZ87DsTAtJn@+I2IoQe&zU39(mx7MNtmqlIG{Wx8Xg}UqhTb&Z8z$re>4|A~$s&Fa~?`+AL+nd1f7FJYbSGujWfBULCIWQISo@VLVe>3#-{5 zEy*NoVFN<<#0c*oCSzMODP?XC4XBbVGBFf$vEo-R9a7o&xeQacNjV0;Kq-FoQ5C7e zBiHF6ouQm(tGS#;@&OW-5^U|3Efu)*V((4~u6NVV1}C@GajEw!!cxs-H6HJwwOHw= zX{vLayKsg;`TP%};h7q>=UOMn7ydOn&x4CxE=jG?eV^FP_b@bJaFOg&CiKxxN@mfk zCh2H?16DMJs0QN!+91=EL7I~_n>@}6z4GN0NfwgF

X3m~)WM5fZ`CF31)25e}QM z#zT#`(ghlpdz0o8^A#DZ+qw9;p-UFAl!teD*o$pL^eGuZ-7wu0B7TKY@@b7)Id!0( zi4~2|m+&8@GT6IYG!@7Ou0Draj0R{j9t}~O44OkUKWjrjWxJDD>XY2+z*29qbpQ&} m`3LiQxk2yXhOET#EG{lXolalRIe!g(7=I5yHfxxmCgoo!j|k5I diff --git a/app/build.gradle b/app/build.gradle index 14bf1fd..6553a72 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -7,8 +7,8 @@ android { applicationId "com.github.bkhezry.demo" minSdkVersion 17 targetSdkVersion 28 - versionCode 12 - versionName "1.1.2" + versionCode 125 + versionName "1.2.5" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } buildTypes { diff --git a/library/build.gradle b/library/build.gradle index d40c59f..201e3b9 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -7,8 +7,8 @@ android { defaultConfig { minSdkVersion 17 targetSdkVersion 28 - versionCode 23 - versionName "1.2.3" + versionCode 125 + versionName "1.2.5" } buildTypes { @@ -46,3 +46,26 @@ dependencies { annotationProcessor "com.squareup.dagger:dagger-compiler:$daggerVersion" } +// build a jar with source files +task sourcesJar(type: Jar) { + from android.sourceSets.main.java.srcDirs + classifier = 'sources' +} + +task javadoc(type: Javadoc) { + failOnError false + source = android.sourceSets.main.java.sourceFiles + classpath += project.files(android.getBootClasspath().join(File.pathSeparator)) + classpath += configurations.compile +} + +// build a jar with javadoc +task javadocJar(type: Jar, dependsOn: javadoc) { + classifier = 'javadoc' + from javadoc.destinationDir +} + +artifacts { + archives sourcesJar + archives javadocJar +} \ No newline at end of file