Skip to content

Commit

Permalink
Android Studio Giraffe
Browse files Browse the repository at this point in the history
  • Loading branch information
hannesa2 committed Nov 8, 2023
1 parent c2018ac commit c347240
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 32 deletions.
37 changes: 7 additions & 30 deletions QRGenearator/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ android {
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
consumerProguardFile('proguard-sdk.pro')
}
}
namespace 'androidmads.library.qrgenearator'
Expand All @@ -21,35 +21,12 @@ dependencies {
implementation 'com.google.zxing:core:3.5.0'
}

afterEvaluate {
publishing {
publications {
release(MavenPublication) {
from components.release
groupId = 'androidmads.library.qrgenearator'
artifactId = 'QRGenearator'
version = '1.0.1'
}
publishing {
publications {
release(MavenPublication) {
// afterEvaluate {
// from components.release
// }
}
}
}

task generateSourcesJar(type: Jar) {
from android.sourceSets.main.java.srcDirs
classifier 'sources'
}

task generateJavadocs(type: Javadoc) {
source = android.sourceSets.main.java.srcDirs
classpath += project.files(android.getBootClasspath().join(File.pathSeparator))
}

task generateJavadocsJar(type: Jar) {
from generateJavadocs.destinationDir
classifier 'javadoc'
}

artifacts {
archives generateSourcesJar
archives generateJavadocsJar
}
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
2 changes: 1 addition & 1 deletion jitpack.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
jdk:
- openjdk11
- openjdk17
before_install:
- ./scripts/prepareJitpackEnvironment.sh

0 comments on commit c347240

Please sign in to comment.