Commit 38f0aef5 authored by qiujianhui's avatar qiujianhui

1、update maven from snapshot to release

2、update README.md
parent 621349a2
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project version="4"> <project version="4">
<component name="CompilerConfiguration"> <component name="CompilerConfiguration">
<bytecodeTargetLevel target="1.8" /> <bytecodeTargetLevel target="11" />
</component> </component>
</project> </project>
\ No newline at end of file
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<asm skipDebug="false" skipFrames="false" skipCode="false" expandFrames="false" /> <asm skipDebug="false" skipFrames="false" skipCode="false" expandFrames="false" />
<groovy codeStyle="LEGACY" /> <groovy codeStyle="LEGACY" />
</component> </component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK"> <component name="ProjectRootManager" version="2" languageLevel="JDK_11" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/out" /> <output url="file://$PROJECT_DIR$/out" />
</component> </component>
</project> </project>
\ No newline at end of file
...@@ -59,29 +59,15 @@ RoiencodeClient功能包括初始化、获取版本号、判断RoiEncode是否 ...@@ -59,29 +59,15 @@ RoiencodeClient功能包括初始化、获取版本号、判断RoiEncode是否
### **2.2.1. 修改项目的build.gradle文件** ### **2.2.1. 修改项目的build.gradle文件**
``` ```
allprojects {** 示例:AGP版本7.2.1 ,gradle7.3.3 maven依赖配置(*注意AGP低版本在根目录中的build.gradle中配置该maven依赖)
maven {
**repositories {** allowInsecureProtocol true
url 'http://nexus.itgsa.com:5566/repository/release/'
**...** credentials {
username 'developer'
**maven {** password 'developer!@#'
}
**url "https://nexus.itgsa.com:5566/repository/gsai-snapshot/"---正式版本修改** }
**credentials {**
**username "admin"**
**password "admin123"**
**}**
**}**
**}**
**}
``` ```
...@@ -91,11 +77,11 @@ allprojects {** ...@@ -91,11 +77,11 @@ allprojects {**
修改具体使用到RoiEncodeUnit的Module的build.gradle,进行如下配置: 修改具体使用到RoiEncodeUnit的Module的build.gradle,进行如下配置:
``` ```
**dependencies {** dependencies {
**implementation ‘gsai.sdk:roiencode-client:1.0.0'** implementation ‘gsai.sdk:roiencode-client:1.0.0'
**} }
``` ```
......
...@@ -32,8 +32,7 @@ android { ...@@ -32,8 +32,7 @@ android {
} }
dependencies { dependencies {
implementation 'gsai.sdk:roiencode-client:1.0.0-SNAPSHOT' implementation 'gsai.sdk:roiencode-client:1.0.0'
compileOnly 'gsai.sdk:roiencodestub:1.0.0-SNAPSHOT'
implementation 'androidx.core:core-ktx:1.7.0' implementation 'androidx.core:core-ktx:1.7.0'
implementation 'androidx.appcompat:appcompat:1.4.1' implementation 'androidx.appcompat:appcompat:1.4.1'
implementation 'com.google.android.material:material:1.6.0' implementation 'com.google.android.material:material:1.6.0'
......
...@@ -5,7 +5,7 @@ pluginManagement { ...@@ -5,7 +5,7 @@ pluginManagement {
mavenCentral() mavenCentral()
maven { maven {
allowInsecureProtocol true allowInsecureProtocol true
url 'http://nexus.itgsa.com:5566/repository/gsai-snapshot' url 'http://nexus.itgsa.com:5566/repository/release/'
credentials { credentials {
username 'developer' username 'developer'
password 'developer!@#' password 'developer!@#'
...@@ -20,7 +20,7 @@ dependencyResolutionManagement { ...@@ -20,7 +20,7 @@ dependencyResolutionManagement {
mavenCentral() mavenCentral()
maven { maven {
allowInsecureProtocol true allowInsecureProtocol true
url 'http://nexus.itgsa.com:5566/repository/gsai-snapshot' url 'http://nexus.itgsa.com:5566/repository/release/'
credentials { credentials {
username 'developer' username 'developer'
password 'developer!@#' password 'developer!@#'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment