File tree Expand file tree Collapse file tree 4 files changed +27
-5
lines changed
app/src/main/java/yalantis/com/sidemenu/sample Expand file tree Collapse file tree 4 files changed +27
-5
lines changed Original file line number Diff line number Diff line change 55import android .graphics .drawable .BitmapDrawable ;
66import android .os .Bundle ;
77import android .support .v4 .widget .DrawerLayout ;
8- import android .support .v7 .app .ActionBarActivity ;
98import android .support .v7 .app .ActionBarDrawerToggle ;
109import android .support .v7 .app .AppCompatActivity ;
1110import android .support .v7 .widget .Toolbar ;
Original file line number Diff line number Diff line change @@ -5,7 +5,8 @@ buildscript {
55 jcenter()
66 }
77 dependencies {
8- classpath ' com.android.tools.build:gradle:1.0.0'
8+ classpath ' com.android.tools.build:gradle:2.2.3'
9+ classpath ' com.github.dcendents:android-maven-gradle-plugin:1.5'
910
1011 // NOTE: Do not place your application dependencies here; they belong
1112 // in the individual module build.gradle files
Original file line number Diff line number Diff line change 1- # Wed Apr 10 15:27:10 PDT 2013
1+ # Thu Jan 05 15:47:58 EET 2017
22distributionBase =GRADLE_USER_HOME
33distributionPath =wrapper/dists
44zipStoreBase =GRADLE_USER_HOME
55zipStorePath =wrapper/dists
6- distributionUrl =https\://services.gradle.org/distributions/gradle-2.2 .1-all.zip
6+ distributionUrl =https\://services.gradle.org/distributions/gradle-2.14 .1-all.zip
Original file line number Diff line number Diff line change 11apply plugin : ' com.android.library'
2+ apply plugin : ' com.github.dcendents.android-maven'
23
34android {
45 compileSdkVersion 23
@@ -20,4 +21,25 @@ android {
2021dependencies {
2122 compile ' com.android.support:appcompat-v7:23.1.1'
2223}
23- apply from : ' ../mavenpush.gradle'
24+
25+ task androidJavadocs (type : Javadoc ) {
26+ source = android. sourceSets. main. java. sourceFiles
27+ }
28+
29+ task androidJavadocsJar (type : Jar ) {
30+ classifier = ' javadoc'
31+ // basename = artifact_id
32+ from androidJavadocs. destinationDir
33+ }
34+
35+ task androidSourcesJar (type : Jar ) {
36+ classifier = ' sources'
37+ // basename = artifact_id
38+ from android. sourceSets. main. java. sourceFiles
39+ }
40+
41+ artifacts {
42+ // archives packageReleaseJar
43+ archives androidSourcesJar
44+ archives androidJavadocsJar
45+ }
You can’t perform that action at this time.
0 commit comments