parent
603a21fe43
commit
266c714535
@ -1,12 +1,24 @@ |
|||||||
apply plugin: 'java' |
apply plugin: 'java' |
||||||
|
apply plugin: 'bintray-release' |
||||||
|
|
||||||
tasks.withType(JavaCompile) { |
tasks.withType(JavaCompile) { |
||||||
options.encoding = "UTF-8" |
options.encoding = "UTF-8" |
||||||
} |
} |
||||||
|
|
||||||
|
sourceCompatibility = JavaVersion.VERSION_1_7 |
||||||
|
targetCompatibility = JavaVersion.VERSION_1_7 |
||||||
|
|
||||||
dependencies { |
dependencies { |
||||||
compile fileTree(dir: 'libs', include: ['*.jar']) |
compile fileTree(dir: 'libs', include: ['*.jar']) |
||||||
|
} |
||||||
|
|
||||||
sourceCompatibility = "1.7" |
publish { |
||||||
targetCompatibility = "1.7" |
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. |
// Top-level build file where you can add configuration options common to all sub-projects/modules. |
||||||
|
|
||||||
buildscript { |
buildscript { |
||||||
repositories { |
repositories { |
||||||
jcenter() |
jcenter() |
||||||
mavenCentral() |
mavenCentral() |
||||||
} |
} |
||||||
dependencies { |
dependencies { |
||||||
classpath 'com.android.tools.build:gradle:2.2.2' |
classpath 'com.android.tools.build:gradle:2.2.2' |
||||||
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7' |
classpath 'com.novoda:bintray-release:0.5.0' |
||||||
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5' |
// classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7' |
||||||
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.4' |
// classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5' |
||||||
// NOTE: Do not place your application dependencies here; they belong |
// NOTE: Do not place your application dependencies here; they belong |
||||||
// in the individual module build.gradle files |
// in the individual module build.gradle files |
||||||
} |
} |
||||||
} |
} |
||||||
|
|
||||||
allprojects { |
allprojects { |
||||||
repositories { |
repositories { |
||||||
jcenter() |
jcenter() |
||||||
mavenCentral() |
mavenCentral() |
||||||
|
} |
||||||
|
|
||||||
|
tasks.withType(Javadoc) { |
||||||
|
options { |
||||||
|
encoding "UTF-8" |
||||||
|
charSet 'UTF-8' |
||||||
|
links "http://docs.oracle.com/javase/7/docs/api" |
||||||
} |
} |
||||||
|
} |
||||||
} |
} |
||||||
|
|
||||||
task clean(type: Delete) { |
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