Skip to content

Instantly share code, notes, and snippets.

@di72nn
Created October 1, 2021 17:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save di72nn/3a4b74bbeb789107195b57a65fa5cfec to your computer and use it in GitHub Desktop.
Save di72nn/3a4b74bbeb789107195b57a65fa5cfec to your computer and use it in GitHub Desktop.
Raccoon4 AUR patch
--- build.gradle 2021-10-01 20:51:21.402731928 +0400
+++ build.gradle 2021-10-01 20:55:19.884516680 +0400
@@ -20,7 +20,8 @@
attributes 'Implementation-Version': archiveVersion, 'Main-Class': 'de.onyxbits.raccoon.Main'
}
archiveBaseName = project.name
- from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
+ duplicatesStrategy = DuplicatesStrategy.EXCLUDE
+ from { configurations.compileClasspath.collect { it.isDirectory() ? it : zipTree(it) } }
exclude 'META-INF/*', 'META-INF/maven/'
with jar
}
@@ -39,23 +40,23 @@
dependencies {
// The production code uses the SLF4J logging API at compile time
// compile 'org.slf4j:slf4j-api:1.7.7'
- compile 'net.dongliu:apk-parser:2.6.10'
- compile 'org.hsqldb:hsqldb:2.5.1'
- compile 'org.eclipse.jetty:jetty-server:8.1.22.v20160922'
- compile 'com.google.zxing:core:3.4.1'
- compile 'commons-codec:commons-codec:1.15'
- compile 'com.google.protobuf:protobuf-java:3.14.0'
- compile 'org.apache.httpcomponents:httpclient:4.5.13'
- compile 'org.apache.httpcomponents:httpcore:4.4.14'
- compile 'commons-io:commons-io:2.8.0'
- compile 'commons-cli:commons-cli:1.4'
- compile group: 'org.bouncycastle', name: 'bctls-jdk15on', version: '1.57'
+ implementation 'net.dongliu:apk-parser:2.6.10'
+ implementation 'org.hsqldb:hsqldb:2.5.1'
+ implementation 'org.eclipse.jetty:jetty-server:8.1.22.v20160922'
+ implementation 'com.google.zxing:core:3.4.1'
+ implementation 'commons-codec:commons-codec:1.15'
+ implementation 'com.google.protobuf:protobuf-java:3.14.0'
+ implementation 'org.apache.httpcomponents:httpclient:4.5.13'
+ implementation 'org.apache.httpcomponents:httpcore:4.4.14'
+ implementation 'commons-io:commons-io:2.8.0'
+ implementation 'commons-cli:commons-cli:1.4'
+ implementation group: 'org.bouncycastle', name: 'bctls-jdk15on', version: '1.57'
// Declare the dependency for your favourite test framework you want to use in your tests.
// TestNG is also supported by the Gradle Test task. Just change the
// testCompile dependency to testCompile 'org.testng:testng:6.8.1' and add
// 'test.useTestNG()' to your build script.
- testCompile "junit:junit:4.13.1"
+ testImplementation "junit:junit:4.13.1"
}
wrapper {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment