Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
huangzhicong
/
SmartCanteen
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
04ec278b
authored
Jan 06, 2020
by
pye52
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1、更新kotlin版本
2、去除冗余import
parent
331d1adc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
6 deletions
+1
-6
app/src/main/java/com/bgycc/smartcanteen/activity/MainActivity.kt
+0
-5
build.gradle
+1
-1
No files found.
app/src/main/java/com/bgycc/smartcanteen/activity/MainActivity.kt
View file @
04ec278b
...
...
@@ -2,7 +2,6 @@ package com.bgycc.smartcanteen.activity
import
android.content.Context
import
android.media.AudioManager
import
android.media.SoundPool
import
android.os.Bundle
import
android.os.Handler
import
android.util.Log
...
...
@@ -14,7 +13,6 @@ import com.bgycc.smartcanteen.App
import
com.bgycc.smartcanteen.AppConfig
import
com.bgycc.smartcanteen.BuildConfig
import
com.bgycc.smartcanteen.R
import
com.bgycc.smartcanteen.action.*
import
com.bgycc.smartcanteen.event.*
import
com.bgycc.smartcanteen.helper.EthernetHelper
import
com.bgycc.smartcanteen.helper.TTSHelper
...
...
@@ -29,15 +27,12 @@ import com.bgycc.smartcanteen.task.ButtonTask
import
com.bgycc.smartcanteen.task.QRCodeTask
import
com.bgycc.smartcanteen.util.StringUtil
import
com.blankj.utilcode.util.LogUtils
import
com.blankj.utilcode.util.ToastUtils
import
org.greenrobot.eventbus.EventBus
import
org.greenrobot.eventbus.Subscribe
import
org.greenrobot.eventbus.ThreadMode
import
java.text.SimpleDateFormat
import
java.util.*
import
kotlinx.android.synthetic.main.activity_main.*
import
org.json.JSONObject
import
java.lang.Exception
class
MainActivity
:
BaseActivity
()
{
...
...
build.gradle
View file @
04ec278b
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript
{
ext
.
kotlin_version
=
'1.3.
1
1'
ext
.
kotlin_version
=
'1.3.
6
1'
repositories
{
maven
{
url
'https://maven.aliyun.com/repository/google'
}
maven
{
url
'https://maven.aliyun.com/repository/jcenter'
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment