Skip to content

Commit

Permalink
2.0.1
Browse files Browse the repository at this point in the history
Correções no gradle, tinham coisas desnecessarias para o funcionamento do clicker.
  • Loading branch information
thiagogebrimm committed Jan 6, 2023
1 parent 1f00c00 commit 906d64d
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {
maven { url = 'https://plugins.gradle.org/m2/' }
}
dependencies {
classpath 'com.github.jengelman.gradle.plugins:shadow:5.2.0'
classpath 'gradle.plugin.com.github.johnrengelman:shadow:7.1.2'
}
}

Expand All @@ -18,9 +18,7 @@ repositories {
mavenCentral()
maven {
url 'https://repo1.maven.org/maven2/'
metadataSources {
artifact() //Look directly for artifact
}
metadataSources.artifact()
}
}

Expand All @@ -32,12 +30,6 @@ dependencies {

shadowJar {
archiveFileName.set("Gabao Clicker ${project.version}.jar")

dependencies {
include(dependency('org.pushing-pixels:trident:1.2'))
include(dependency('com.github.kwhat:jnativehook:2.2.2'))
include(dependency('com.apple:AppleJavaExtensions:1.4'))
}
}

jar {
Expand All @@ -53,4 +45,4 @@ tasks.withType(JavaCompile).configureEach {
options.encoding = 'UTF-8'
}

build.dependsOn(shadowJar)
shadowJar.dependsOn

0 comments on commit 906d64d

Please sign in to comment.