diff --git a/QRGenearator/build.gradle b/QRGenearator/build.gradle index 18fe035..f7d2ee3 100644 --- a/QRGenearator/build.gradle +++ b/QRGenearator/build.gradle @@ -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' @@ -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 -} diff --git a/build.gradle b/build.gradle index 633a4c5..b1e696d 100644 --- a/build.gradle +++ b/build.gradle @@ -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' } } diff --git a/jitpack.yml b/jitpack.yml index 1bfc0d7..bcf1f6f 100644 --- a/jitpack.yml +++ b/jitpack.yml @@ -1,4 +1,4 @@ jdk: - - openjdk11 + - openjdk17 before_install: - ./scripts/prepareJitpackEnvironment.sh \ No newline at end of file