forked from developeron29/PLSQLParser
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
32 lines (28 loc) · 1.05 KB
/
build.gradle
File metadata and controls
32 lines (28 loc) · 1.05 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
/* nota gradle 2.3 Nýrri er með annan structúr */
/*
set PATH=%PATH%;C:\java\gradle-5.3.1\bin
*/
plugins {
id 'antlr'
id 'java'
}
repositories {
mavenCentral()
mavenLocal()
}
/*Y:\oracle\plsql\PLSQLParser>mvn install:install-file -DgroupId=com.oracle -DartifactId=ojdbc6 -Dversion=11.2.0.3 -Dpackaging=jar -Dfile=ojdbc6.jar -DgeneratePom=true-DartifactId=ojdbc6 -Dversion=11.2.0.3 -Dpackaging=jar -DgeneratePom=true -Dfile=c:\oracle\product\11.2.0\dbhome_1\jdbc\lib\ojdbc6.jar*/
dependencies {
compile group: 'commons-cli', name: 'commons-cli', version: '1.4'
antlr "org.antlr:antlr4:4.7" // use ANTLR version 4.7
compile files('C:\\oracle\\product\\11.2.0\\client_64\\jdbc\\lib\\ojdbc6.jar')
}
compileJava {
sourceCompatibility = 1.8
targetCompatibility = 1.8
options.bootstrapClasspath = files("C:\\Program Files\\Java\\jdk1.8.0_202/jre/lib/rt.jar")
}
task generatePythonParser(type: AntlrTask) {
arguments += "-Dlanguage=Python3"
source = sourceSets.main.antlr
outputDirectory = file("${project.buildDir}/generated-src/antlr/main")
}