Skip to content

Commit

Permalink
Merge pull request #18 from gmerinojimenez/fix-dependencies
Browse files Browse the repository at this point in the history
Fix dependencies
  • Loading branch information
gmerinojimenez authored Nov 29, 2021
2 parents 28246cb + 9660edf commit eddcdac
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext {
compose_version = '1.0.4'
compose_version = '1.0.5'
ktx_version = '2.3.1'
dagger_version = "2.38.1"

Expand All @@ -14,7 +14,7 @@ buildscript {
}
}
dependencies {
classpath "com.android.tools.build:gradle:7.0.2"
classpath "com.android.tools.build:gradle:7.0.3"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.31"
}
}
Expand Down Expand Up @@ -44,6 +44,6 @@ task clean(type: Delete) {
allprojects {

group = 'com.gmerinojimenez.tweaks'
version = '0.0.16'
version = '0.0.17'

}
8 changes: 4 additions & 4 deletions library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,16 @@ android {
dependencies {

enabledImplementation 'androidx.core:core-ktx:1.7.0'
enabledImplementation 'androidx.appcompat:appcompat:1.3.1'
enabledImplementation 'androidx.appcompat:appcompat:1.4.0'
enabledImplementation 'com.google.android.material:material:1.4.0'
implementation "androidx.compose.ui:ui:$compose_version"
enabledImplementation "androidx.compose.material:material:$compose_version"
enabledImplementation "androidx.compose.ui:ui-tooling-preview:$compose_version"
enabledImplementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.4.0'
enabledImplementation 'androidx.activity:activity-compose:1.4.0'
enabledApi 'com.squareup:seismic:1.0.3'
enabledImplementation 'com.squareup:seismic:1.0.3'
enabledImplementation "androidx.datastore:datastore-preferences:1.0.0"
implementation "androidx.compose.ui:ui:$compose_version"
implementation "androidx.navigation:navigation-compose:2.4.0-beta02"

//Dagger
enabledImplementation "com.google.dagger:dagger:$dagger_version"
Expand All @@ -69,7 +70,6 @@ dependencies {
kapt "com.google.dagger:dagger-compiler:$dagger_version"
kapt "com.google.dagger:dagger-android-processor:$dagger_version"

implementation "androidx.navigation:navigation-compose:2.4.0-beta01"

testImplementation 'junit:junit:4.+'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
Expand Down
6 changes: 6 additions & 0 deletions mavencentral.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,12 @@ publishing {
dependencyNode.appendNode('artifactId', it.name)
dependencyNode.appendNode('version', it.version)
}
project.configurations.getByName("enabledImplementation").allDependencies.each {
def dependencyNode = dependenciesNode.appendNode('dependency')
dependencyNode.appendNode('groupId', it.group)
dependencyNode.appendNode('artifactId', it.name)
dependencyNode.appendNode('version', it.version)
}
}
}
}
Expand Down

0 comments on commit eddcdac

Please sign in to comment.