Skip to content

Commit

Permalink
Android Studio Giraffe
Browse files Browse the repository at this point in the history
  • Loading branch information
hannesa2 committed Oct 2, 2023
1 parent 03eae70 commit b186843
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 10 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.4.2'
classpath 'com.android.tools.build:gradle:8.1.2'
}
}

Expand Down
24 changes: 15 additions & 9 deletions library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
publishing {
singleVariant('release') {
withSourcesJar()
withJavadocJar()
}
}
namespace 'com.github.clans.fab'
}

Expand All @@ -35,12 +41,12 @@ dependencies {
implementation "com.google.android.material:material:1.9.0"
}

project.afterEvaluate {
publishing {
publications {
release(MavenPublication) {
from components.release
}
}
}
}
//publishing {
// publications {
// release(MavenPublication) {
// afterEvaluate {
// from components.release
// }
// }
// }
//}

0 comments on commit b186843

Please sign in to comment.