-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
72 lines (63 loc) · 2.54 KB
/
Copy pathbuild.gradle
File metadata and controls
72 lines (63 loc) · 2.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
/* -*- mode: groovy ; coding: utf-8 -*-
KISS is not meant to be built with gradle. It is intended that the KISS bld program be used.
This is merely a sample starting point should gradle be desired.
*/
plugins {
id 'java'
id 'idea'
}
group = 'org.kissweb'
version = '1.0'
description = 'Kiss Web Development Framework'
repositories {
mavenCentral()
}
dependencies {
implementation 'com.mchange:c3p0:0.11.2'
implementation 'org.apache.groovy:groovy:4.0.28'
implementation 'jakarta.servlet:jakarta.servlet-api:6.1.0'
implementation 'org.apache.logging.log4j:log4j-core:2.25.3'
implementation 'org.apache.logging.log4j:log4j-api:2.25.3'
implementation 'com.mchange:mchange-commons-java:0.3.2'
implementation 'com.microsoft.sqlserver:mssql-jdbc:12.4.2.jre8'
// mysql-connector-java is not included because it must be manually downloaded
implementation 'org.postgresql:postgresql:42.7.11'
implementation 'org.slf4j:slf4j-api:1.7.30'
implementation 'org.slf4j:slf4j-simple:1.7.30'
implementation 'org.xerial:sqlite-jdbc:3.53.1.0'
implementation 'org.webjars.bower:jquery:3.6.3'
implementation 'cljsjs:ag-grid-community:34.0.1'
implementation 'org.apache.pdfbox:pdfbox:3.0.5'
implementation 'org.apache.pdfbox:fontbox:3.0.5'
implementation 'org.apache.pdfbox:pdfbox-io:3.0.5'
implementation 'com.oracle.ojdbc:ojdbc10:19.3.0.0'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.11.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.11.0'
testImplementation 'org.junit.jupiter:junit-jupiter-params:5.11.0'
testImplementation 'org.junit.platform:junit-platform-console:1.11.0'
testImplementation 'org.junit.platform:junit-platform-console-standalone:1.11.0'
testImplementation 'org.apiguardian:apiguardian-api:1.1.2'
}
sourceSets {
main {
// Compiled sources from these directories
java {
srcDirs = ['src/main/core', 'src/main/precompiled']
}
// Optionally, you can also define resources from the default location
// resources { srcDirs = ['src/main/resources'] }
}
}
// Task to copy the backend files (not compiled) to a custom directory
task copyBackend(type: Copy) {
from 'src/main/backend'
into "$buildDir/backend"
}
// Ensure backend files are copied during the processResources phase.
processResources.dependsOn copyBackend
// Configure IDEA to mark src/main/backend as a resource folder so it shows up in your IDE.
idea {
module {
resourceDirs += file("src/main/backend")
}
}