forked from bilibili/BurstLinker
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
151 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,4 +11,5 @@ captures/ | |
*.iml | ||
.externalNativeBuild/ | ||
CMakeFiles/ | ||
.vs/ | ||
.vs/ | ||
.cxx/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#Tue Aug 07 14:39:55 CST 2018 | ||
#Wed Oct 26 22:33:28 CST 2022 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip | ||
distributionPath=wrapper/dists | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-5.1.1-all.zip | ||
zipStoreBase=GRADLE_USER_HOME |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,111 @@ | ||
plugins { | ||
id("com.android.library") | ||
//id("com.novoda.bintray-release") | ||
id("maven-publish") | ||
signing | ||
} | ||
|
||
/*ext { | ||
val VERSION_NAME = rootProject.ext.burstLinkerVer | ||
}*/ | ||
|
||
android { | ||
compileSdk = 33 | ||
//buildToolsVersion '28.0.3' | ||
namespace = "com.bilibili.burstlinker" | ||
defaultConfig { | ||
aarMetadata { | ||
minCompileSdk = 33 | ||
} | ||
minSdk = 14 | ||
targetSdk = 33 | ||
//versionCode = 13 | ||
//versionName = "0.0.13" | ||
//testInstrumentationRunner = "android.support.test.runner.AndroidJUnitRunner" | ||
|
||
// renderscriptTargetApi 26 | ||
// renderscriptSupportModeEnabled true | ||
// renderscriptNdkModeEnabled true | ||
|
||
externalNativeBuild { | ||
cmake { | ||
// arguments "-DANDROID_ARM_NEON=TRUE" | ||
// arguments "-DANDROID_ABI=armeabi-v7a with NEON" | ||
arguments("-DANDROID_STL=c++_static") | ||
cppFlags("-std=c++14 -fno-rtti -fno-exceptions") | ||
} | ||
} | ||
} | ||
buildTypes { | ||
release { | ||
isMinifyEnabled = false | ||
proguardFiles(getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro") | ||
} | ||
create("debug_native") { | ||
isJniDebuggable = true | ||
isRenderscriptDebuggable = true | ||
} | ||
} | ||
externalNativeBuild { | ||
cmake { | ||
path = File("CMakeLists.txt") | ||
} | ||
} | ||
publishing { | ||
singleVariant("release") { | ||
withSourcesJar() | ||
} | ||
} | ||
} | ||
|
||
dependencies { | ||
//implementation fileTree(dir: "libs", include: ["*.jar"]) | ||
//testImplementation("junit:junit:4.12") | ||
} | ||
|
||
publishing { | ||
repositories { | ||
maven { | ||
name = "GitHubPackages" | ||
url = uri("https://maven.pkg.github.com/Cryolitia/BurstLinker") | ||
credentials { | ||
username = "Cryolitia" | ||
password = project.findProperty("github.publishPAT").toString() | ||
} | ||
} | ||
} | ||
publications { | ||
register<MavenPublication>("release") { | ||
groupId = "com.bilibili" | ||
artifactId = "burstlinker" | ||
version = "0.0.13" | ||
afterEvaluate { | ||
from(components["release"]) | ||
} | ||
pom { | ||
name.set("BurstLinker") | ||
description.set("\uD83D\uDE80 A simple GIF encoder for Android.") | ||
url.set("https://github.com/Cryolitia/BurstLinker") | ||
licenses { | ||
license { | ||
name.set("The Apache License, Version 2.0") | ||
url.set("http://www.apache.org/licenses/LICENSE-2.0.txt") | ||
} | ||
} | ||
developers { | ||
developer { | ||
id.set("succlz123") | ||
name.set("Ning") | ||
} | ||
developer { | ||
id.set("Cryolitia") | ||
name.set("Cryolitia") | ||
email.set("[email protected]") | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
//apply from: rootProject.file('upload.gradle') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters