Skip to content

Commit

Permalink
- added support for the Google Cast plugin
Browse files Browse the repository at this point in the history
- added build.gradle file
  • Loading branch information
andreimarinescu committed May 4, 2015
1 parent 52bbe00 commit 9bd7f1a
Show file tree
Hide file tree
Showing 6 changed files with 120 additions and 4 deletions.
4 changes: 2 additions & 2 deletions AppscendVastPlayer/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.appscend.vastplayer"
android:versionCode="1925"
android:versionName="1.9.25"
android:versionCode="2000"
android:versionName="2.0.0"
android:installLocation="auto">
<uses-sdk android:minSdkVersion="13"/>
<application></application>
Expand Down
4 changes: 2 additions & 2 deletions AppscendVastPlayer/bin/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.appscend.vastplayer"
android:versionCode="1925"
android:versionName="1.9.25"
android:versionCode="2000"
android:versionName="2.0.0"
android:installLocation="auto">
<uses-sdk android:minSdkVersion="13"/>
<application></application>
Expand Down
Binary file modified AppscendVastPlayer/bin/appscendvastplayer.jar
Binary file not shown.
112 changes: 112 additions & 0 deletions AppscendVastPlayer/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
apply plugin: 'com.android.library'
apply plugin: 'maven'
apply plugin: 'signing'

version '2.0.0'
group = "com.veeplay"
project.ext.projectName = "Veeplay SDK"
project.ext.projectDescription= "Veeplay for Android SDK"
project.ext.projectUrl = "http://veeplay.com"

android {
compileSdkVersion 22
buildToolsVersion '22.0.1'

sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
java.srcDirs = ['src']
resources.srcDirs = ['src']
aidl.srcDirs = ['src']
renderscript.srcDirs = ['src']
res.srcDirs = ['res']
assets.srcDirs = ['assets']
}

general {
manifest.srcFile 'AndroidManifest-general.xml'
java.srcDirs = ['src-general']
resources.srcDirs = ['src-general']
aidl.srcDirs = ['src-general']
renderscript.srcDirs = ['src-general']
res.srcDirs = ['res-general']
assets.srcDirs = ['assets-general']
}

aes128 {
manifest.srcFile 'AndroidManifest-aes128.xml'
java.srcDirs = ['src-aes128']
resources.srcDirs = ['src-aes128']
aidl.srcDirs = ['src-aes128']
renderscript.srcDirs = ['src-aes128']
res.srcDirs = ['res-aes128']
assets.srcDirs = ['assets-aes128']
}

noExo {
manifest.srcFile 'AndroidManifest-noExo.xml'
java.srcDirs = ['src-noExo']
resources.srcDirs = ['src-noExo']
aidl.srcDirs = ['src-noExo']
renderscript.srcDirs = ['src-noExo']
res.srcDirs = ['res-noExo']
assets.srcDirs = ['assets-noExo']
}

// Move the tests to tests/java, tests/res, etc...
instrumentTest.setRoot('tests')

// Move the build types to build-types/<type>
// For instance, build-types/debug/java, build-types/debug/AndroidManifest.xml, ...
// This moves them out of them default location under src/<type>/... which would
// conflict with src/ being used by the main source set.
// Adding new build types or product flavors should be accompanied
// by a similar customization.
debug.setRoot('build-types/debug')
release.setRoot('build-types/release')
}

defaultPublishConfig "generalDebug"
publishNonDefault false

productFlavors {
//noinspection GroovyMissingReturnStatement
general {

}
//noinspection GroovyMissingReturnStatement
aes128 {

}
//noinspection GroovyMissingReturnStatement
noExo {

}
}

buildTypes {
release {
minifyEnabled true
proguardFile getDefaultProguardFile('proguard.cfg')
}
}
}

repositories {
mavenCentral()
}

dependencies {
compile files('libs/YouTubeAndroidPlayerApi.jar')
compile files('libs/cloning-1.9.0.jar')
compile files('libs/jdom-2.0.5.jar')
compile 'com.android.support:support-v4:22.1.1'
compile 'com.google.code.gson:gson:2.3'
compile 'com.squareup.okhttp:okhttp:2.1.0'
compile 'com.squareup.okhttp:okhttp-urlconnection:2.1.0'
compile 'com.squareup.okio:okio:1.0.0'
aes128Compile files('libs/exoplayer-multitrack.jar')
generalCompile files('libs/exoplayer-general.jar')
}

apply from: "..\\upload_archives_task.gradle"
Binary file modified AppscendVastPlayer/libs/appscendvastplayer.jar
Binary file not shown.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2.0.0
=====
- added support for the Google Cast plugin

1.9.25 (2.0.0 RC2)
==================
- updated Youtube API adding support for Lollipop
Expand Down

0 comments on commit 9bd7f1a

Please sign in to comment.