Procházet zdrojové kódy

v1.0.0开发:修改publish.gradle依赖的publish插件

#Suyghur před 3 roky
rodič
revize
0a0931f0b8
28 změnil soubory, kde provedl 423 přidání a 165 odebrání
  1. 3 0
      .gitignore
  2. 20 19
      build.gradle
  3. 3 1
      demo/build.gradle
  4. binární
      demo/libs/library_core-release.aar
  5. 52 0
      demo/src/main/assets/test.html
  6. 1 1
      gradle/wrapper/gradle-wrapper.properties
  7. 0 1
      library_base/build.gradle
  8. 4 12
      library_core/build.gradle
  9. 77 51
      library_core/publish.gradle
  10. 82 0
      library_core/publish_old.gradle
  11. 9 0
      library_core/src/main/cpp/sdk_drive.cpp
  12. 0 17
      library_core/src/main/cpp/toolkit.cpp
  13. 12 18
      library_core/src/main/java/cn/yyxx/eyuangame/core/impl/SdkBridgeImpl.kt
  14. 2 0
      library_core/src/main/java/cn/yyxx/eyuangame/core/impl/SdkDrive.kt
  15. 24 0
      library_core/src/main/java/cn/yyxx/eyuangame/core/impl/SdkJsImpl.kt
  16. 45 3
      library_core/src/main/java/cn/yyxx/eyuangame/core/impl/center/HybridActivity.kt
  17. 41 33
      library_core/src/main/java/cn/yyxx/eyuangame/core/impl/floatball/FloatCenterService.kt
  18. 5 0
      library_core/src/main/java/cn/yyxx/eyuangame/core/internal/IJsCallback.kt
  19. 1 1
      library_core/src/main/java/cn/yyxx/eyuangame/core/linking/channel/LinkingFacebookImpl.kt
  20. 1 1
      library_core/src/main/java/cn/yyxx/eyuangame/core/network/VolleyRequest.kt
  21. 0 2
      library_core/src/main/java/cn/yyxx/eyuangame/core/ui/floatview/FloatingBall.kt
  22. 12 5
      library_core/src/main/java/cn/yyxx/eyuangame/core/ui/floatview/FloatingBallMenu.kt
  23. 25 0
      library_core/src/main/java/cn/yyxx/eyuangame/core/utils/LocalCacheUtils.kt
  24. 4 0
      library_core/src/main/java/cn/yyxx/eyuangame/core/utils/MMKVUtils.kt
  25. binární
      libs/dolin_zap_1.0.0.jar
  26. binární
      libs/eyuangamesdk_base_1.0.0.jar
  27. binární
      libs/mmkv-static-1.2.8.jar
  28. binární
      libs/yyxx_support_1.0.1.jar

+ 3 - 0
.gitignore

@@ -5,6 +5,9 @@
 /local.properties
 .DS_Store
 
+# ---> dolin zap log framework
+*.zap
+
 # ---> Android
 # Built application files
 *.apk

+ 20 - 19
build.gradle

@@ -1,24 +1,26 @@
 // Top-level build file where you can add configuration options common to all sub-projects/modules.
 buildscript {
 
-    // demo远程依赖
-    ext.REMOTE_LIBRARY = false
-    // 发布开关
-    ext.PUBLISH_ENABLE = false
-    // 混淆开关
-    ext.MINIFY_ENABLE = true
-    // ndk版本
-    ext.NDK_VERSION = '21.4.7075529'
-    // kotlin版本
-    ext.KOTLIN_VERSION = '1.4.20'
-    // compileSdkVersion
-    ext.COMPILE_SDK_VERSION = 30
-    // buildToolsVersion
-    ext.BUILD_TOOLS_VERSION = '30.0.3'
-    // minSdkVersion
-    ext.MIN_SDK_VERSION = 16
-    // targetSdkVersion
-    ext.TARGET_SDK_VERSION = 30
+    ext {
+        // demo远程依赖
+        REMOTE_LIBRARY = false
+        // 发布开关
+        PUBLISH_ENABLE = false
+        // 混淆开关
+        MINIFY_ENABLE = true
+        // ndk版本
+        NDK_VERSION = '21.4.7075529'
+        // kotlin版本
+        KOTLIN_VERSION = '1.5.21'
+        // compileSdkVersion
+        COMPILE_SDK_VERSION = 30
+        // buildToolsVersion
+        BUILD_TOOLS_VERSION = '30.0.3'
+        // minSdkVersion
+        MIN_SDK_VERSION = 16
+        // targetSdkVersion
+        TARGET_SDK_VERSION = 30
+    }
 
     repositories {
         google()
@@ -28,7 +30,6 @@ buildscript {
     dependencies {
         classpath 'com.android.tools.build:gradle:4.1.3'
         classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$KOTLIN_VERSION"
-
         // NOTE: Do not place your application dependencies here; they belong
         // in the individual module build.gradle files
 

+ 3 - 1
demo/build.gradle

@@ -28,6 +28,8 @@ android {
             keyPassword keystoreProperties['keyPassword']
             storeFile file(keystoreProperties['storeFile'])
             storePassword keystoreProperties['storePassword']
+            v1SigningEnabled true
+            v2SigningEnabled true
         }
     }
 
@@ -73,7 +75,7 @@ dependencies {
 
     if (PUBLISH_ENABLE) {
         if (REMOTE_LIBRARY) {
-            implementation 'io.github.yyxxgame.sdk:eyuangame-sdk-ktx:0.0.1'
+            implementation 'io.github.yyxxgame.sdk:eyuangame-sdk-ktx:1.0.0-alpha3'
         } else {
             api(name: 'library_core-release', ext: 'aar')
 

binární
demo/libs/library_core-release.aar


+ 52 - 0
demo/src/main/assets/test.html

@@ -0,0 +1,52 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>