Skip to content

Commit

Permalink
add JitPack config
Browse files Browse the repository at this point in the history
  • Loading branch information
youlookwhat committed Jan 4, 2021
1 parent b76b377 commit dbdc6c1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@

### 硬件条件
- 连接到同一局域网!手机和电脑连接到同一局域网。
- 电脑需要有用户名和密码
- 设置共享文件夹 (smb://username:password@ip/folder。(登录鉴权))
- mac 电脑需要在选项里打开当前账户
- 电脑需要有用户名和密码
- window 电脑 文件夹-共享-高级共享-权限-打开更改权限

### 代码配置
#### 1.开启联网权限
Expand Down
3 changes: 2 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ buildscript {
dependencies {
classpath "com.android.tools.build:gradle:3.4.2"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"

// JitPack上传
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
Expand Down
4 changes: 4 additions & 0 deletions smb/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ plugins {
id 'kotlin'
}

// JitPack
apply plugin: 'maven'
group = 'com.github.youlookwhat'

java {
sourceCompatibility = JavaVersion.VERSION_1_7
targetCompatibility = JavaVersion.VERSION_1_7
Expand Down

0 comments on commit dbdc6c1

Please sign in to comment.