diff --git a/app/src/main/java/com/zhuazhu/voice/MainActivity.java b/app/src/main/java/com/zhuazhu/voice/MainActivity.java index 7e313b6..4be0cb2 100644 --- a/app/src/main/java/com/zhuazhu/voice/MainActivity.java +++ b/app/src/main/java/com/zhuazhu/voice/MainActivity.java @@ -13,9 +13,9 @@ protected void onCreate(Bundle savedInstanceState) { setContentView(R.layout.activity_main); VoicePlay voicePlay = VoicePlay.with(this); voicePlay.play("56.23"); - voicePlay.playSuccess(); - voicePlay.playClose(); - voicePlay.playDefeated(); - voicePlay.playRefundSuccess(); +// voicePlay.playSuccess(); +// voicePlay.playClose(); +// voicePlay.playDefeated(); +// voicePlay.playRefundSuccess(); } } diff --git a/moneybroadcast/build.gradle b/moneybroadcast/build.gradle index 26be8ad..9f80f65 100644 --- a/moneybroadcast/build.gradle +++ b/moneybroadcast/build.gradle @@ -1,4 +1,5 @@ apply plugin: 'com.android.library' +apply plugin: 'maven' android { compileSdkVersion 26 @@ -24,6 +25,19 @@ android { } +uploadArchives { + repositories { + mavenDeployer { + repository(url: "http://192.166.1.67:8081/repository/mejust-android-releases/") { + authentication(userName: "admin", password: "admin123") + } + pom.version = "1.0.0" + pom.artifactId = "mejust.moneybroadcast" + pom.groupId = "zhuazhu" + } + } +} + dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) diff --git a/moneybroadcast/src/main/assets/sound/tts_success.mp3 b/moneybroadcast/src/main/assets/sound/tts_success.mp3 index 3a53a47..67bd377 100644 Binary files a/moneybroadcast/src/main/assets/sound/tts_success.mp3 and b/moneybroadcast/src/main/assets/sound/tts_success.mp3 differ diff --git a/moneybroadcast/src/main/java/zhuazhu/voice/VoiceBuilder.java b/moneybroadcast/src/main/java/zhuazhu/voice/VoiceBuilder.java index e3cdaf9..a36781c 100644 --- a/moneybroadcast/src/main/java/zhuazhu/voice/VoiceBuilder.java +++ b/moneybroadcast/src/main/java/zhuazhu/voice/VoiceBuilder.java @@ -1,11 +1,11 @@ package zhuazhu.voice; /** - * @author 志尧 - * @date on 2018-01-12 15:12 - * @email 1417337180@qq.com - * @describe 组合音频 实体类 - * @ideas 开头 + 金额 + 单位 + * 创建时间: 2017/12/26 16:47
+ * 创建人: 李涛
+ * 修改人: 李涛
+ * 修改时间: 2017/12/26 16:47
+ * 描述: 组合音频 实体类(开头 + 金额 + 单位) */ public class VoiceBuilder { diff --git a/moneybroadcast/src/main/java/zhuazhu/voice/VoicePlay.java b/moneybroadcast/src/main/java/zhuazhu/voice/VoicePlay.java index f6e0af2..96f84cd 100644 --- a/moneybroadcast/src/main/java/zhuazhu/voice/VoicePlay.java +++ b/moneybroadcast/src/main/java/zhuazhu/voice/VoicePlay.java @@ -15,11 +15,11 @@ import zhuazhu.voice.utils.FileUtils; /** - * @author 志尧 - * @date on 2018-01-12 15:09 - * @email 1417337180@qq.com - * @describe 音频播放 - * @ideas + * 创建时间: 2017/12/26 16:47
+ * 创建人: 李涛
+ * 修改人: 李涛
+ * 修改时间: 2017/12/26 16:47
+ * 描述: 语音播报 */ public class VoicePlay { diff --git a/moneybroadcast/src/main/java/zhuazhu/voice/VoiceTextTemplate.java b/moneybroadcast/src/main/java/zhuazhu/voice/VoiceTextTemplate.java index 7dad376..78f452d 100644 --- a/moneybroadcast/src/main/java/zhuazhu/voice/VoiceTextTemplate.java +++ b/moneybroadcast/src/main/java/zhuazhu/voice/VoiceTextTemplate.java @@ -9,11 +9,11 @@ import zhuazhu.voice.utils.MoneyUtils; /** - * @author 志尧 - * @date on 2018-01-12 15:25 - * @email 1417337180@qq.com - * @describe 音频组合 - * @ideas + * 创建时间: 2017/12/26 16:47
+ * 创建人: 李涛
+ * 修改人: 李涛
+ * 修改时间: 2017/12/26 16:47
+ * 描述: 语音组合 */ public class VoiceTextTemplate { diff --git a/moneybroadcast/src/main/java/zhuazhu/voice/utils/FileUtils.java b/moneybroadcast/src/main/java/zhuazhu/voice/utils/FileUtils.java index dc9a73c..f4cc9ed 100644 --- a/moneybroadcast/src/main/java/zhuazhu/voice/utils/FileUtils.java +++ b/moneybroadcast/src/main/java/zhuazhu/voice/utils/FileUtils.java @@ -7,11 +7,11 @@ import java.io.IOException; /** - * @author 志尧 - * @date on 2018-01-12 13:51 - * @email 1417337180@qq.com - * @describe 文件相关的工具类 - * @ideas + * 创建时间: 2017/12/26 16:47
+ * 创建人: 李涛
+ * 修改人: 李涛
+ * 修改时间: 2017/12/26 16:47
+ * 描述: 文件处理 */ public class FileUtils { diff --git a/moneybroadcast/src/main/java/zhuazhu/voice/utils/MoneyUtils.java b/moneybroadcast/src/main/java/zhuazhu/voice/utils/MoneyUtils.java index d091a76..7b415b4 100644 --- a/moneybroadcast/src/main/java/zhuazhu/voice/utils/MoneyUtils.java +++ b/moneybroadcast/src/main/java/zhuazhu/voice/utils/MoneyUtils.java @@ -1,11 +1,11 @@ package zhuazhu.voice.utils; /** - * @author 志尧 - * @date on 2018-01-12 13:54 - * @email 1417337180@qq.com - * @describe 关于金钱的工具类 - * @ideas + * 创建时间: 2017/12/26 16:47
+ * 创建人: 李涛
+ * 修改人: 李涛
+ * 修改时间: 2017/12/26 16:47
+ * 描述: 关于金钱的工具类 */ public class MoneyUtils {