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
3ec3d15c
Commit
3ec3d15c
authored
Jul 08, 2022
by
万齐军
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tuicore 修改与source分flavor
parent
7bd18f12
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
6 deletions
+9
-6
tests_ic_arrow_drop_down.png
m-tests/src/main/res/drawable-xhdpi/tests_ic_arrow_drop_down.png
+0
-0
publish.gradle
publish.gradle
+7
-4
build.gradle
ydl-resource/build.gradle
+1
-1
build.gradle
ydl-tuicore/build.gradle
+1
-1
No files found.
m-tests/src/main/res/drawable-xhdpi/tests_ic_arrow_drop_down.png
deleted
100644 → 0
View file @
7bd18f12
2.83 KB
publish.gradle
View file @
3ec3d15c
...
@@ -3,12 +3,15 @@ apply plugin: 'maven-publish'
...
@@ -3,12 +3,15 @@ apply plugin: 'maven-publish'
def
mavenRepositoryUrl
=
"http://nexus.yidianling.com/repository/AndroidReleases/"
def
mavenRepositoryUrl
=
"http://nexus.yidianling.com/repository/AndroidReleases/"
def
mavenRepositoryUrl2
=
"http://nexus.yidianling.com/repository/AndroidSnapshots/"
def
mavenRepositoryUrl2
=
"http://nexus.yidianling.com/repository/AndroidSnapshots/"
def
sourceJar
(
String
name
,
String
path
)
{
def
sourceJar
(
String
name
,
String
path
,
String
ext
)
{
return
project
.
tasks
.
create
(
"source${name.capitalize()}Jar"
,
Jar
)
{
return
project
.
tasks
.
create
(
"source${name.capitalize()}Jar"
,
Jar
)
{
group
=
"publishing"
group
=
"publishing"
description
=
"package ${name} source to jar"
description
=
"package ${name} source to jar"
from
"$path/src/main/java"
from
"$path/src/main/java"
from
"$path/src/main/kotlin"
from
"$path/src/main/kotlin"
if
(!
ext
.
isEmpty
())
{
from
"$path/src/${ext}/java"
}
destinationDir
=
file
(
"$path/build/libs/"
)
destinationDir
=
file
(
"$path/build/libs/"
)
classifier
=
'sources'
classifier
=
'sources'
}
}
...
@@ -60,14 +63,14 @@ afterEvaluate {
...
@@ -60,14 +63,14 @@ afterEvaluate {
group
'com.ydl'
group
'com.ydl'
version
pVersion
+
"-ydl"
version
pVersion
+
"-ydl"
from
components
.
ydlRelease
from
components
.
ydlRelease
artifact
sourceJar
(
getName
(),
"${project.projectDir}"
)
artifact
sourceJar
(
getName
(),
"${project.projectDir}"
,
"ydl"
)
pom
.
withXml
(
checkPomVersion
)
pom
.
withXml
(
checkPomVersion
)
}
}
xlzxComponent
(
MavenPublication
)
{
xlzxComponent
(
MavenPublication
)
{
group
'com.ydl'
group
'com.ydl'
version
pVersion
+
"-xlzx"
version
pVersion
+
"-xlzx"
from
components
.
xlzxRelease
from
components
.
xlzxRelease
artifact
sourceJar
(
getName
(),
"${project.projectDir}"
)
artifact
sourceJar
(
getName
(),
"${project.projectDir}"
,
"xlzx"
)
pom
.
withXml
(
checkPomVersion
)
pom
.
withXml
(
checkPomVersion
)
}
}
}
else
{
}
else
{
...
@@ -75,7 +78,7 @@ afterEvaluate {
...
@@ -75,7 +78,7 @@ afterEvaluate {
group
isApiModule
?
'com.ydl.api'
:
'com.ydl'
group
isApiModule
?
'com.ydl.api'
:
'com.ydl'
version
pVersion
version
pVersion
from
components
.
release
from
components
.
release
artifact
sourceJar
(
getName
(),
"${project.projectDir}"
)
artifact
sourceJar
(
getName
(),
"${project.projectDir}"
,
""
)
pom
.
withXml
(
checkPomVersion
)
pom
.
withXml
(
checkPomVersion
)
}
}
}
}
...
...
ydl-resource/build.gradle
View file @
3ec3d15c
apply
plugin:
'com.android.library'
apply
plugin:
'com.android.library'
apply
from:
"../publish.gradle"
//
apply from: "../publish.gradle"
android
{
android
{
compileSdkVersion
28
compileSdkVersion
28
...
...
ydl-tuicore/build.gradle
View file @
3ec3d15c
...
@@ -6,7 +6,7 @@ apply plugin: 'kotlin-android'
...
@@ -6,7 +6,7 @@ apply plugin: 'kotlin-android'
apply
plugin:
'kotlin-android-extensions'
apply
plugin:
'kotlin-android-extensions'
apply
plugin:
'kotlin-kapt'
apply
plugin:
'kotlin-kapt'
apply
from:
'publish.gradle'
apply
from:
"../publish.gradle"
android
{
android
{
compileSdkVersion
rootProject
.
ext
.
android
[
"compileSdkVersion"
]
compileSdkVersion
rootProject
.
ext
.
android
[
"compileSdkVersion"
]
...
...
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