Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
- package-ecosystem: "" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"

Binary file not shown.
22 changes: 15 additions & 7 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>libra</groupId>
<groupId>Husayn</groupId>
<artifactId>AndroidProjectCreator</artifactId>
<version>1.5.2-stable</version>
<version>1.5.3-beta</version>
<packaging>jar</packaging>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down Expand Up @@ -39,33 +39,40 @@
<dependency>
<groupId>org.eclipse.jgit</groupId>
<artifactId>org.eclipse.jgit</artifactId>
<version>5.1.1.201809181055-r</version>
<version>5.1.16.202106041830-r</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>net.lingala.zip4j</groupId>
<artifactId>zip4j</artifactId>
<version>1.3.3</version>
<version>2.11.5</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
<version>2.17.1</version>
<version>2.24.3</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>2.17.1</version>
<version>2.24.3</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j-impl</artifactId>
<version>2.16.0</version>
<version>2.24.3</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<archive>
Expand All @@ -81,3 +88,4 @@
</plugins>
</build>
</project>

4 changes: 2 additions & 2 deletions src/main/java/apc/ArgumentManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,9 @@ private void showError(Exception ex) {
* Display the version information
*/
public void showVersion() {
String versionNumber = "1.5.2-stable";
String versionNumber = "1.5.3-beta";
StringBuilder version = new StringBuilder();
version.append("[+]AndroidProjectCreator " + versionNumber + " [developed by Max 'Libra' Kersten <info@maxkersten.nl> or @Libranalysis on Twitter]\n");
version.append("[+]AndroidProjectCreator " + versionNumber + " [developed by Max 'Libra' Kersten <info@maxkersten.nl> or @Libranalysis on Twitter, Modified by Husayn]\n");
System.out.println(version.toString());
}
}
2 changes: 1 addition & 1 deletion src/main/java/apc/FileManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Paths;
import net.lingala.zip4j.core.ZipFile;
import net.lingala.zip4j.ZipFile;
import net.lingala.zip4j.exception.ZipException;

/**
Expand Down
5 changes: 3 additions & 2 deletions src/main/java/apc/RepositoryManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -179,10 +179,11 @@ public void extractBuilds(List<Tool> tools) {
}
System.out.println("[+]Finished extracting " + tool.getRepository().getName());

} catch (IOException | ZipException ex) {
} catch (ZipException ex) { }
catch (IOException ex) {
System.err.println("Something went wrong during the extraction of the build of " + tool.getRepository().getName() + ":\n" + ex.getMessage());
ex.printStackTrace();
}
}
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/model/Repository.java
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public void cloneRepository() throws IOException {

} catch (GitAPIException ex) {
//Because the GitAPIException is abstract and cannot be instantiated, another (similar) exception is used
throw new IOException("[+]There was an error cloing " + name + ". Verify your internet connection and the permissions of the folder!");
throw new IOException("[+]There was an error cloning " + name + ". Verify your internet connection and the permissions of the folder!");
}
}

Expand Down