Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YDL-Component-Medical
Overview
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
杨凯
YDL-Component-Medical
Commits
8c4abf1a
Commit
8c4abf1a
authored
Jul 21, 2022
by
万齐军
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
版本发布
parent
d351e3ea
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
31 deletions
+6
-31
build.gradle
build.gradle
+2
-2
config.gradle
config.gradle
+0
-3
gradle-wrapper.properties
gradle/wrapper/gradle-wrapper.properties
+1
-1
publish.gradle
publish.gradle
+3
-2
publish.gradle
ydl-tuicore/publish.gradle
+0
-23
No files found.
build.gradle
View file @
8c4abf1a
...
...
@@ -14,7 +14,7 @@ buildscript {
ydlrouter_version
=
'1.2.3'
constrait_support_version
=
'1.0.2'
componentVersion
=
"
a.b.c
"
componentVersion
=
"
0.3.0.3-SNAPSHOT
"
}
repositories
{
mavenCentral
()
...
...
@@ -22,7 +22,7 @@ buildscript {
mavenLocal
()
}
dependencies
{
classpath
'com.android.tools.build:gradle:7.
1.3
'
classpath
'com.android.tools.build:gradle:7.
2.1
'
classpath
"org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
...
...
config.gradle
View file @
8c4abf1a
ext
{
ydlPublishVersion
=
[
"ydl-tuicore"
:
"0.0.25"
]
ydl_app
=
[
appName
:
"壹点灵心理咨询"
,
applicationId:
"com.cxzapp.yidianling"
,
...
...
gradle/wrapper/gradle-wrapper.properties
View file @
8c4abf1a
distributionBase
=
GRADLE_USER_HOME
distributionPath
=
wrapper/dists
distributionUrl
=
https
\:
//services.gradle.org/distributions/gradle-7.
2
-all.zip
distributionUrl
=
https
\:
//services.gradle.org/distributions/gradle-7.
3.3
-all.zip
zipStoreBase
=
GRADLE_USER_HOME
zipStorePath
=
wrapper/dists
publish.gradle
View file @
8c4abf1a
...
...
@@ -61,14 +61,14 @@ afterEvaluate {
if
(
multiComponent
.
contains
(
project
.
path
))
{
ydlComponent
(
MavenPublication
)
{
group
'com.ydl'
version
pVersion
+
"-ydl"
version
"ydl-"
+
pVersion
from
components
.
ydlRelease
artifact
sourceJar
(
getName
(),
"${project.projectDir}"
,
"ydl"
)
pom
.
withXml
(
checkPomVersion
)
}
xlzxComponent
(
MavenPublication
)
{
group
'com.ydl'
version
pVersion
+
"-xlzx"
version
"xlzx-"
+
pVersion
from
components
.
xlzxRelease
artifact
sourceJar
(
getName
(),
"${project.projectDir}"
,
"xlzx"
)
pom
.
withXml
(
checkPomVersion
)
...
...
@@ -87,6 +87,7 @@ afterEvaluate {
def
snapshot
=
pVersion
.
endsWith
(
"-SNAPSHOT"
)
maven
{
url
snapshot
?
mavenRepositoryUrl2
:
mavenRepositoryUrl
allowInsecureProtocol
true
credentials
{
username
"admin"
password
"fjoi#1+#@"
...
...
ydl-tuicore/publish.gradle
deleted
100644 → 0
View file @
d351e3ea
apply
plugin:
'maven'
def
mavenRepositoryUrl
=
"http://nexus.yidianling.com/repository/AndroidReleases/"
def
getVersionName
()
{
return
hasProperty
(
'VERSION_NAME'
)
?
VERSION_NAME
:
rootProject
.
ext
.
ydlPublishVersion
[
project
.
getName
()]
}
uploadArchives
{
configuration
=
configurations
.
archives
repositories
.
mavenDeployer
{
repository
(
url:
mavenRepositoryUrl
)
{
authentication
(
userName:
"admin"
,
password:
"fjoi#1+#@"
)
}
pom
.
project
{
artifactId
project
.
getName
().
replace
(
'_'
,
"-"
)
groupId
"com.ydl"
version
getVersionName
()
packaging
'aar'
//填写aar
}
}
}
\ No newline at end of file
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