Skip to content

Commit

Permalink
codelocator 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
liujianAndroid committed May 17, 2022
1 parent 75824a4 commit 516d779
Show file tree
Hide file tree
Showing 452 changed files with 22,667 additions and 9,546 deletions.
3 changes: 2 additions & 1 deletion CodeLocatorApp/.idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion CodeLocatorApp/.idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 8 additions & 1 deletion CodeLocatorApp/.idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 20 additions & 5 deletions CodeLocatorApp/CodeLocatorCore/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'

if (getProperties("customUploadGradlePluginUrl") != null) {
apply from: getProperties("customUploadGradlePluginUrl")
Expand All @@ -12,9 +13,11 @@ android {
minSdkVersion MIN_SDK_VERSION
targetSdkVersion TARGET_SDK_VERSION
versionCode 1
versionName project["POM_VERSION_NAME"]
versionName codelocator_version

consumerProguardFiles "consumer-rules.pro"

buildConfigField "String", "VERSION_NAME", "\"$codelocator_version\""
}

buildTypes {
Expand All @@ -27,9 +30,21 @@ android {

dependencies {
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation 'androidx.appcompat:appcompat:1.2.0'
api 'com.bytedance.tools.codelocator:codelocator-model:1.0.1'
// api project(path: ':CodeLocatorModel')

if (useSupport) {
implementation "com.android.support:appcompat-v7:$support_version"
} else {
implementation "androidx.appcompat:appcompat:$androidx_version"
}

if (useSourceCode) {
api project(path: ':CodeLocatorModel')
} else {
api "com.bytedance.tools.codelocator:codelocator-model:${codelocator_version}"
}

implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
compileOnly("com.squareup.okhttp3:okhttp:3.8.1")
}

apply from: rootProject.file('publish.gradle')
apply plugin: "com.vanniktech.maven.publish"
Loading

0 comments on commit 516d779

Please sign in to comment.