Skip to content

Commit

Permalink
solving some issues
Browse files Browse the repository at this point in the history
  • Loading branch information
wandemberg-eldorado committed Dec 6, 2021
1 parent f7b3d40 commit c4e4525
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

39 changes: 39 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,49 @@ configurations {
dependencies {
api('com.github.CST-Group:cst:0.7.0')

testImplementation 'com.1stleg:jnativehook:2.1.0'
testImplementation group: 'junit', name: 'junit', version: '4.12'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.2'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.2'
}

task javadocJar(type: Jar) {
classifier = 'javadoc'
from javadoc
from {
configurations.extraLibs.collect { it.isDirectory() ? it : zipTree(it) }
}
}
task sourcesJar(type: Jar) {
classifier = 'sources'
from sourceSets.main.allSource
from {
configurations.extraLibs.collect { it.isDirectory() ? it : zipTree(it) }
}
}
task uberJar(type: Jar) {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
archiveClassifier = 'full'
from sourceSets.main.output
dependsOn configurations.runtimeClasspath
from {
configurations.runtimeClasspath.findAll { it.name.endsWith('jar') }.collect { zipTree(it) }
}
exclude 'META-INF/*.RSA', 'META-INF/*.SF','META-INF/*.DSA'
}
artifacts
{
archives javadocJar, sourcesJar, uberJar
}

publishing {
publications {
mavenJava(MavenPublication) {
from components.java
}
}
}

jacocoTestReport {
reports {
xml.required = true
Expand Down

0 comments on commit c4e4525

Please sign in to comment.