Skip to content

Commit

Permalink
jitpack addition
Browse files Browse the repository at this point in the history
  • Loading branch information
orhanobut committed Sep 15, 2015
1 parent d4cc645 commit cce5ea4
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 153 deletions.
9 changes: 1 addition & 8 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,15 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:1.2.3'
classpath 'com.github.dcendents:android-maven-plugin:1.2'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files

}
}


def isReleaseBuild() {
return version.contains("SNAPSHOT") == false
}

allprojects {
version = VERSION_NAME
group = GROUP

repositories {
jcenter()
}
Expand Down
34 changes: 0 additions & 34 deletions gradle.properties

This file was deleted.

23 changes: 20 additions & 3 deletions hawk/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
apply plugin: 'com.android.library'
apply plugin: 'com.github.dcendents.android-maven'

apply plugin: 'checkstyle'

Expand Down Expand Up @@ -27,6 +28,24 @@ android {
}
}

// 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))
}

// build a jar with javadoc
task javadocJar(type: Jar, dependsOn: javadoc) {
classifier = 'javadoc'
from javadoc.destinationDir
}

configurations {
optional
compile.extendsFrom optional
Expand All @@ -53,6 +72,4 @@ dependencies {
testCompile "org.mockito:mockito-core:1.9.5"
testCompile "org.robolectric:robolectric:3.0"
testCompile 'org.assertj:assertj-core:1.7.0'
}

apply from: '../maven_push.gradle'
}
108 changes: 0 additions & 108 deletions maven_push.gradle

This file was deleted.

0 comments on commit cce5ea4

Please sign in to comment.