Skip to content

Commit

Permalink
using project as dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
promeG committed Mar 21, 2020
1 parent fa98f20 commit c389b76
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
3 changes: 2 additions & 1 deletion android-sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ android {

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.github.promeg:tinypinyin-lexicons-android-cncity:' + rootProject.ext.releaseVersionName

implementation project(':tinypinyin-lexicons-android-cncity')

androidTestImplementation 'com.android.support.test:rules:1.0.2'

Expand Down
8 changes: 4 additions & 4 deletions tinypinyin-android-asset-lexicons/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,14 @@ android {
}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
implementation fileTree(dir: 'libs', include: ['*.jar'])

compile 'com.github.promeg:tinypinyin:' + rootProject.ext.releaseVersionName
api project(':lib')

androidTestCompile('com.android.support.test.espresso:espresso-core:3.0.2', {
androidTestImplementation('com.android.support.test.espresso:espresso-core:3.0.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
testCompile 'junit:junit:4.12'
testImplementation 'junit:junit:4.12'
}


Expand Down
4 changes: 1 addition & 3 deletions tinypinyin-lexicons-android-cncity/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,7 @@ android {
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])

implementation 'com.github.promeg:tinypinyin-android-asset-lexicons:' + rootProject.ext.releaseVersionName

implementation project(':tinypinyin-android-asset-lexicons')
api project(':tinypinyin-android-asset-lexicons')

androidTestImplementation('com.android.support.test.espresso:espresso-core:3.0.2', {
exclude group: 'com.android.support', module: 'support-annotations'
Expand Down
3 changes: 2 additions & 1 deletion tinypinyin-lexicons-java-cncity/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ apply from: '../config/quality-java.gradle'

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.github.promeg:tinypinyin:' + rootProject.ext.releaseVersionName

implementation project(':lib')

testImplementation 'junit:junit:4.12'
testImplementation 'org.hamcrest:hamcrest-all:1.3'
Expand Down

0 comments on commit c389b76

Please sign in to comment.