Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
Mirai
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
Mirai
Commits
a17f0000
Commit
a17f0000
authored
Jan 21, 2020
by
Him188
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
f**k android
parent
e44e7b39
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
26 deletions
+11
-26
gradle/android.gradle
gradle/android.gradle
+8
-0
mirai-core-qqandroid/build.gradle.kts
mirai-core-qqandroid/build.gradle.kts
+1
-8
mirai-core-timpc/build.gradle.kts
mirai-core-timpc/build.gradle.kts
+1
-9
mirai-core/build.gradle.kts
mirai-core/build.gradle.kts
+1
-9
No files found.
gradle/android.gradle
0 → 100644
View file @
a17f0000
apply
plugin:
"com.android.library"
android
{
compileSdkVersion
(
29
)
defaultConfig
{
minSdkVersion
(
15
)
}
}
\ No newline at end of file
mirai-core-qqandroid/build.gradle.kts
View file @
a17f0000
...
@@ -3,7 +3,6 @@
...
@@ -3,7 +3,6 @@
plugins
{
plugins
{
kotlin
(
"multiplatform"
)
kotlin
(
"multiplatform"
)
id
(
"kotlinx-atomicfu"
)
id
(
"kotlinx-atomicfu"
)
id
(
"com.android.library"
)
id
(
"kotlinx-serialization"
)
id
(
"kotlinx-serialization"
)
`maven-publish`
`maven-publish`
id
(
"com.jfrog.bintray"
)
version
"1.8.4-jetbrains-3"
// DO NOT CHANGE THIS VERSION UNLESS YOU WANT TO WASTE YOUR TIME
id
(
"com.jfrog.bintray"
)
version
"1.8.4-jetbrains-3"
// DO NOT CHANGE THIS VERSION UNLESS YOU WANT TO WASTE YOUR TIME
...
@@ -32,15 +31,9 @@ version = rootProject.ext.get("mirai_version")!!.toString()
...
@@ -32,15 +31,9 @@ version = rootProject.ext.get("mirai_version")!!.toString()
val
isAndroidSDKAvailable
:
Boolean
by
project
val
isAndroidSDKAvailable
:
Boolean
by
project
android
{
compileSdkVersion
(
29
)
defaultConfig
{
minSdkVersion
(
15
)
}
}
kotlin
{
kotlin
{
if
(
isAndroidSDKAvailable
)
{
if
(
isAndroidSDKAvailable
)
{
apply
(
from
=
rootProject
.
file
(
"gradle/android.gradle"
))
android
(
"android"
)
{
android
(
"android"
)
{
publishAllLibraryVariants
()
publishAllLibraryVariants
()
}
}
...
...
mirai-core-timpc/build.gradle.kts
View file @
a17f0000
...
@@ -3,7 +3,6 @@
...
@@ -3,7 +3,6 @@
plugins
{
plugins
{
kotlin
(
"multiplatform"
)
kotlin
(
"multiplatform"
)
id
(
"kotlinx-atomicfu"
)
id
(
"kotlinx-atomicfu"
)
id
(
"com.android.library"
)
id
(
"kotlinx-serialization"
)
id
(
"kotlinx-serialization"
)
`maven-publish`
`maven-publish`
id
(
"com.jfrog.bintray"
)
version
"1.8.4-jetbrains-3"
// DO NOT CHANGE THIS VERSION UNLESS YOU WANT TO WASTE YOUR TIME
id
(
"com.jfrog.bintray"
)
version
"1.8.4-jetbrains-3"
// DO NOT CHANGE THIS VERSION UNLESS YOU WANT TO WASTE YOUR TIME
...
@@ -32,18 +31,11 @@ version = rootProject.ext.get("mirai_version")!!.toString()
...
@@ -32,18 +31,11 @@ version = rootProject.ext.get("mirai_version")!!.toString()
val
isAndroidSDKAvailable
:
Boolean
by
project
val
isAndroidSDKAvailable
:
Boolean
by
project
android
{
compileSdkVersion
(
29
)
defaultConfig
{
minSdkVersion
(
15
)
}
}
kotlin
{
kotlin
{
if
(
isAndroidSDKAvailable
)
{
if
(
isAndroidSDKAvailable
)
{
apply
(
from
=
rootProject
.
file
(
"gradle/android.gradle"
))
android
(
"android"
)
{
android
(
"android"
)
{
publishAllLibraryVariants
()
publishAllLibraryVariants
()
project
.
apply
(
plugin
=
"com.android.library"
)
}
}
}
else
{
}
else
{
println
(
println
(
...
...
mirai-core/build.gradle.kts
View file @
a17f0000
...
@@ -3,7 +3,6 @@
...
@@ -3,7 +3,6 @@
plugins
{
plugins
{
kotlin
(
"multiplatform"
)
kotlin
(
"multiplatform"
)
id
(
"kotlinx-atomicfu"
)
id
(
"kotlinx-atomicfu"
)
id
(
"com.android.library"
)
id
(
"kotlinx-serialization"
)
id
(
"kotlinx-serialization"
)
`maven-publish`
`maven-publish`
id
(
"com.jfrog.bintray"
)
version
"1.8.4-jetbrains-3"
// DO NOT CHANGE THIS VERSION UNLESS YOU WANT TO WASTE YOUR TIME
id
(
"com.jfrog.bintray"
)
version
"1.8.4-jetbrains-3"
// DO NOT CHANGE THIS VERSION UNLESS YOU WANT TO WASTE YOUR TIME
...
@@ -31,16 +30,9 @@ description = "QQ protocol library"
...
@@ -31,16 +30,9 @@ description = "QQ protocol library"
val
isAndroidSDKAvailable
:
Boolean
by
project
val
isAndroidSDKAvailable
:
Boolean
by
project
android
{
compileSdkVersion
(
29
)
defaultConfig
{
minSdkVersion
(
15
)
}
}
kotlin
{
kotlin
{
if
(
isAndroidSDKAvailable
)
{
if
(
isAndroidSDKAvailable
)
{
project
.
apply
(
plugin
=
"com.android.library"
)
apply
(
from
=
rootProject
.
file
(
"gradle/android.gradle"
)
)
android
(
"android"
)
{
android
(
"android"
)
{
publishAllLibraryVariants
()
publishAllLibraryVariants
()
}
}
...
...
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