diff --git a/IjkplayerLib/gradle.properties b/IjkplayerLib/gradle.properties new file mode 100644 index 0000000..f472a5b --- /dev/null +++ b/IjkplayerLib/gradle.properties @@ -0,0 +1,3 @@ +POM_ARTIFACT_ID=ijkLib +POM_NAME=ijkLib +POM_PACKAGING=aar \ No newline at end of file diff --git a/build.gradle b/build.gradle index a098695..202a362 100755 --- a/build.gradle +++ b/build.gradle @@ -5,20 +5,29 @@ buildscript { jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:1.2.3' + classpath 'com.android.tools.build:gradle:2.1.0' // 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 = PROJ_VERSION + + group = PROJ_GROUP + repositories { - jcenter() + + mavenCentral() + } -} -ext { - compileSdkVersion = 22 - buildToolsVersion = "22.0.1" } \ No newline at end of file diff --git a/gradle.properties b/gradle.properties index cb853f9..f0dfdfb 100755 --- a/gradle.properties +++ b/gradle.properties @@ -17,17 +17,25 @@ # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects # org.gradle.parallel=true -VERSION_NAME=0.3.1-dev001 -VERSION_CODE=301000 -GROUP=tv.danmaku.ijk.media - -POM_DESCRIPTION=Video player based on FFmpeg n2.7 -POM_URL=https://github.com/Bilibili/ijkplayer -POM_SCM_URL=https://github.com/Bilibili/ijkplayer -POM_SCM_CONNECTION=git@github.com:Bilibili/ijkplayer.git -POM_SCM_DEV_CONNECTION=git@github.com:Bilibili/ijkplayer.git -POM_LICENCE_NAME=LGPLv2.1 or later -POM_LICENCE_URL=https://www.gnu.org/licenses/lgpl-2.1.html +# 包信息 +PROJ_GROUP=com.github.leifzhang +PROJ_VERSION=0.0.1 + +# 项目的描述 +PROJ_WEBSITEURL=https://github.com/Leifzhang/ijkplayer +PROJ_ISSUETRACKERURL=https://github.com/Leifzhang/ijkplayer/issues +PROJ_VCSURL=https://github.com/Leifzhang/ijkplayer.git +PROJ_DESCRIPTION=simpe of ijkplayer qulick use in projcet + +# Licence信息 +PROJ_LICENCE_NAME=The Apache Software License, Version 2.0 +PROJ_LICENCE_URL=http://www.apache.org/licenses/LICENSE-2.0.txt +PROJ_LICENCE_DEST=repo + POM_LICENCE_DIST=repo -POM_DEVELOPER_ID=bbcallen -POM_DEVELOPER_NAME=Zhang Rui +POM_DEVELOPER_ID=ijkplayer +POM_DEVELOPER_NAME=Leif Zhang + +ANDROID_BUILD_TARGET_SDK_VERSION=23 +ANDROID_BUILD_TOOLS_VERSION=23.0.2 +ANDROID_BUILD_SDK_VERSION=23 \ No newline at end of file diff --git a/sample/build.gradle b/sample/build.gradle index 3dbb372..c6cc54e 100755 --- a/sample/build.gradle +++ b/sample/build.gradle @@ -21,7 +21,6 @@ android { dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) - testCompile 'junit:junit:4.12' compile 'com.android.support:appcompat-v7:23.2.1' compile project(':IjkplayerLib') } \ No newline at end of file diff --git a/sample/sample.iml b/sample/sample.iml index 461cf95..dc854a3 100644 --- a/sample/sample.iml +++ b/sample/sample.iml @@ -12,10 +12,7 @@