parent
603a21fe43
commit
266c714535
@ -1,12 +1,24 @@ |
||||
apply plugin: 'java' |
||||
apply plugin: 'bintray-release' |
||||
|
||||
tasks.withType(JavaCompile) { |
||||
options.encoding = "UTF-8" |
||||
} |
||||
|
||||
sourceCompatibility = JavaVersion.VERSION_1_7 |
||||
targetCompatibility = JavaVersion.VERSION_1_7 |
||||
|
||||
dependencies { |
||||
compile fileTree(dir: 'libs', include: ['*.jar']) |
||||
} |
||||
|
||||
sourceCompatibility = "1.7" |
||||
targetCompatibility = "1.7" |
||||
publish { |
||||
artifactId = 'aria-annotations' |
||||
userOrg = rootProject.userOrg |
||||
groupId = rootProject.groupId |
||||
uploadName = rootProject.uploadName |
||||
publishVersion = rootProject.publishVersion |
||||
description = rootProject.description |
||||
website = rootProject.website |
||||
licences = rootProject.licences |
||||
} |
@ -1,27 +1,45 @@ |
||||
// Top-level build file where you can add configuration options common to all sub-projects/modules. |
||||
|
||||
buildscript { |
||||
repositories { |
||||
jcenter() |
||||
mavenCentral() |
||||
} |
||||
dependencies { |
||||
classpath 'com.android.tools.build:gradle:2.2.2' |
||||
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7' |
||||
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5' |
||||
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.4' |
||||
// NOTE: Do not place your application dependencies here; they belong |
||||
// in the individual module build.gradle files |
||||
} |
||||
repositories { |
||||
jcenter() |
||||
mavenCentral() |
||||
} |
||||
dependencies { |
||||
classpath 'com.android.tools.build:gradle:2.2.2' |
||||
classpath 'com.novoda:bintray-release:0.5.0' |
||||
// classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7' |
||||
// classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5' |
||||
// NOTE: Do not place your application dependencies here; they belong |
||||
// in the individual module build.gradle files |
||||
} |
||||
} |
||||
|
||||
allprojects { |
||||
repositories { |
||||
jcenter() |
||||
mavenCentral() |
||||
repositories { |
||||
jcenter() |
||||
mavenCentral() |
||||
} |
||||
|
||||
tasks.withType(Javadoc) { |
||||
options { |
||||
encoding "UTF-8" |
||||
charSet 'UTF-8' |
||||
links "http://docs.oracle.com/javase/7/docs/api" |
||||
} |
||||
} |
||||
} |
||||
|
||||
task clean(type: Delete) { |
||||
delete rootProject.buildDir |
||||
delete rootProject.buildDir |
||||
} |
||||
|
||||
ext { |
||||
userOrg = 'arialyy' |
||||
groupId = 'com.arialyy.aria' |
||||
uploadName = 'AriaPre' |
||||
publishVersion = '0.0.1' |
||||
repoName='maven' |
||||
desc = 'android 下载框架' |
||||
website = 'https://github.com/AriaLyy/Aria' |
||||
licences = ['Apache-2.0'] |
||||
} |
||||
|
Loading…
Reference in new issue