This repository has been archived by the owner on Nov 4, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 4519294
Showing
60 changed files
with
2,945 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
*.iml | ||
.gradle | ||
/local.properties | ||
/.idea/ | ||
.DS_Store | ||
/build | ||
/captures | ||
.externalNativeBuild | ||
.cxx | ||
/androidTest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
apply plugin: 'com.android.application' | ||
apply plugin: 'kotlin-android' | ||
apply plugin: 'kotlin-android-extensions' | ||
|
||
android { | ||
compileSdkVersion 29 | ||
buildToolsVersion "29.0.3" | ||
|
||
defaultConfig { | ||
applicationId "com.vicedev.zy_player_android" | ||
minSdkVersion 21 | ||
targetSdkVersion 29 | ||
versionCode 1 | ||
versionName "1.0" | ||
|
||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" | ||
} | ||
|
||
buildTypes { | ||
release { | ||
minifyEnabled false | ||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' | ||
} | ||
} | ||
|
||
// To inline the bytecode built with JVM target 1.8 into | ||
// bytecode that is being built with JVM target 1.6. (e.g. navArgs) | ||
|
||
|
||
compileOptions { | ||
sourceCompatibility JavaVersion.VERSION_1_8 | ||
targetCompatibility JavaVersion.VERSION_1_8 | ||
} | ||
kotlinOptions { | ||
jvmTarget = "1.8" | ||
} | ||
|
||
} | ||
|
||
dependencies { | ||
implementation fileTree(dir: 'libs', include: ['*.jar']) | ||
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" | ||
implementation 'androidx.appcompat:appcompat:1.1.0' | ||
implementation 'androidx.core:core-ktx:1.3.0' | ||
implementation 'com.google.android.material:material:1.1.0' | ||
implementation 'androidx.constraintlayout:constraintlayout:1.1.3' | ||
implementation 'androidx.navigation:navigation-fragment:2.2.2' | ||
implementation 'androidx.navigation:navigation-ui:2.2.2' | ||
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0' | ||
implementation 'androidx.navigation:navigation-fragment-ktx:2.2.2' | ||
implementation 'androidx.navigation:navigation-ui-ktx:2.2.2' | ||
// testImplementation 'junit:junit:4.13' | ||
// androidTestImplementation 'androidx.test.ext:junit:1.1.1' | ||
// androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0' | ||
|
||
implementation 'com.shuyu:GSYVideoPlayer:7.1.4' | ||
|
||
implementation 'com.github.arcadefire:nice-spinner:1.4.4' | ||
|
||
implementation 'com.wuhenzhizao:titlebar:1.2.0' | ||
|
||
implementation 'com.scwang.smart:refresh-layout-kernel:2.0.1' | ||
implementation 'com.scwang.smart:refresh-header-classics:2.0.1' | ||
implementation 'com.scwang.smart:refresh-footer-classics:2.0.1' | ||
|
||
implementation 'com.github.CymChad:BaseRecyclerViewAdapterHelper:3.0.4' | ||
|
||
implementation 'org.jsoup:jsoup:1.13.1' | ||
|
||
implementation 'com.google.code.gson:gson:2.8.6' | ||
|
||
implementation 'com.blankj:utilcodex:1.29.0' | ||
|
||
implementation 'com.lzy.net:okgo:3.0.4' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Add project specific ProGuard rules here. | ||
# You can control the set of applied configuration files using the | ||
# proguardFiles setting in build.gradle. | ||
# | ||
# For more details, see | ||
# http://developer.android.com/guide/developing/tools/proguard.html | ||
|
||
# If your project uses WebView with JS, uncomment the following | ||
# and specify the fully qualified class name to the JavaScript interface | ||
# class: | ||
#-keepclassmembers class fqcn.of.javascript.interface.for.webview { | ||
# public *; | ||
#} | ||
|
||
# Uncomment this to preserve the line number information for | ||
# debugging stack traces. | ||
#-keepattributes SourceFile,LineNumberTable | ||
|
||
# If you keep the line number information, uncomment this to | ||
# hide the original source file name. | ||
#-renamesourcefileattribute SourceFile | ||
|
||
#GSYVideoPlayer | ||
-keep class com.shuyu.gsyvideoplayer.video.** { *; } | ||
-dontwarn com.shuyu.gsyvideoplayer.video.** | ||
-keep class com.shuyu.gsyvideoplayer.video.base.** { *; } | ||
-dontwarn com.shuyu.gsyvideoplayer.video.base.** | ||
-keep class com.shuyu.gsyvideoplayer.utils.** { *; } | ||
-dontwarn com.shuyu.gsyvideoplayer.utils.** | ||
-keep class tv.danmaku.ijk.** { *; } | ||
-dontwarn tv.danmaku.ijk.** | ||
|
||
-keep public class * extends android.view.View{ | ||
*** get*(); | ||
void set*(***); | ||
public <init>(android.content.Context); | ||
public <init>(android.content.Context, android.util.AttributeSet); | ||
public <init>(android.content.Context, android.util.AttributeSet, int); | ||
} | ||
|
||
#okhttp | ||
-dontwarn okhttp3.** | ||
-keep class okhttp3.**{*;} | ||
|
||
#okio | ||
-dontwarn okio.** | ||
-keep class okio.**{*;} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="com.vicedev.zy_player_android"> | ||
|
||
<application | ||
android:name=".App" | ||
android:allowBackup="true" | ||
android:icon="@mipmap/ic_launcher" | ||
android:label="@string/app_name" | ||
android:networkSecurityConfig="@xml/network_security_config" | ||
android:roundIcon="@mipmap/ic_launcher_round" | ||
android:supportsRtl="true" | ||
android:theme="@style/AppTheme"> | ||
<activity | ||
android:name=".ui.MainActivity" | ||
android:label="@string/app_name"> | ||
<intent-filter> | ||
<action android:name="android.intent.action.MAIN" /> | ||
|
||
<category android:name="android.intent.category.LAUNCHER" /> | ||
</intent-filter> | ||
</activity> | ||
</application> | ||
|
||
</manifest> |
Oops, something went wrong.