mirror of
https://github.com/processing/processing4.git
synced 2026-01-26 18:01:07 +01:00
Migration of the pdf library to Gradle
This commit is contained in:
@@ -1 +1,39 @@
|
||||
ant.importBuild("build.xml")
|
||||
plugins{
|
||||
java
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
main {
|
||||
java {
|
||||
srcDirs("src")
|
||||
}
|
||||
}
|
||||
}
|
||||
repositories{
|
||||
mavenCentral()
|
||||
maven("https://jogamp.org/deployment/maven/")
|
||||
}
|
||||
|
||||
dependencies{
|
||||
compileOnly(project(":core"))
|
||||
|
||||
implementation("com.lowagie:itext:2.1.7")
|
||||
}
|
||||
|
||||
tasks.register<Copy>("createLibrary"){
|
||||
dependsOn("jar")
|
||||
into(layout.buildDirectory.dir("library"))
|
||||
|
||||
from(layout.projectDirectory){
|
||||
include ("library.properties")
|
||||
include("examples/**")
|
||||
}
|
||||
|
||||
from(configurations.runtimeClasspath){
|
||||
into("library")
|
||||
}
|
||||
|
||||
from(tasks.jar) {
|
||||
into("library")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user