Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
Sobot_module_Dev
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sobot_android
Sobot_module_Dev
Commits
ebacb6f2
Commit
ebacb6f2
authored
Jun 16, 2022
by
郑娜伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
picture 可以打jar
parent
36c8b761
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
2 deletions
+18
-2
build.gradle
build.gradle
+1
-1
build.gradle
sobot_pictureframe/build.gradle
+16
-0
sobot-widget-publish-mavencentral.gradle
sobot_widget/sobot-widget-publish-mavencentral.gradle
+1
-1
No files found.
build.gradle
View file @
ebacb6f2
...
...
@@ -5,7 +5,7 @@ buildscript {
jcenter
()
}
dependencies
{
classpath
'com.android.tools.build:gradle:3.4.
1
'
classpath
'com.android.tools.build:gradle:3.4.
2
'
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
...
...
sobot_pictureframe/build.gradle
View file @
ebacb6f2
...
...
@@ -8,6 +8,22 @@ android {
defaultConfig
{
minSdkVersion
14
}
//这里就是打jar包
task
makeJar
(
type:
Copy
)
{
//删除旧的jar包
delete
'build/libs/picture_1.1.jar'
//原地址
from
(
'build/intermediates/packaged-classes/release/'
)
//导出jar包的地址
into
(
'build/libs/'
)
//包含的jar包
include
(
'classes.jar'
)
//重命名jar包为mysdk
rename
(
'classes.jar'
,
'picture_1.1.jar'
)
}
makeJar
.
dependsOn
(
build
)
lintOptions
{
abortOnError
false
}
}
dependencies
{
...
...
sobot_widget/sobot-widget-publish-mavencentral.gradle
View file @
ebacb6f2
...
...
@@ -13,7 +13,7 @@ ext {
PUBLISH_GROUP_ID
=
"com.sobot.library"
//项目包名
PUBLISH_ARTIFACT_ID
=
'widget'
//项目名
// PUBLISH_ARTIFACT_ID = 'widget_x' //项目名
PUBLISH_VERSION
=
'
0.6
'
//版本号
PUBLISH_VERSION
=
'
1.0
'
//版本号
}
...
...
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