Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Buildsystem switched to gyp and updated to v8 4.2 #88

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
32 changes: 0 additions & 32 deletions .classpath

This file was deleted.

6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
/bin/
/target/
/build/
/.gradle/
/*.iml
/*.iws
/*.ipr
/out/
23 changes: 0 additions & 23 deletions .project

This file was deleted.

5 changes: 0 additions & 5 deletions .settings/org.eclipse.core.resources.prefs

This file was deleted.

2 changes: 0 additions & 2 deletions .settings/org.eclipse.core.runtime.prefs

This file was deleted.

297 changes: 0 additions & 297 deletions .settings/org.eclipse.jdt.core.prefs

This file was deleted.

62 changes: 0 additions & 62 deletions .settings/org.eclipse.jdt.ui.prefs

This file was deleted.

4 changes: 0 additions & 4 deletions .settings/org.eclipse.m2e.core.prefs

This file was deleted.

4 changes: 0 additions & 4 deletions .travis.yml

This file was deleted.

13 changes: 0 additions & 13 deletions META-INF/MANIFEST.MF

This file was deleted.

74 changes: 74 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
import org.apache.tools.ant.filters.ReplaceTokens

apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'application'

buildscript {
repositories {
jcenter()
}
dependencies {
classpath group: 'eu.appsatori', name: 'gradle-fatjar-plugin', version: '0.3'
}
}

repositories {
jcenter();
}

dependencies {
testCompile 'junit:junit:4.12'
testCompile 'org.mockito:mockito-all:1.10.19'
}

jar {
actions = []
dependsOn = []
dependsOn('fatJar')
}

processResources {
from('src/main/java') {
include '**/*.xml'
filter ReplaceTokens, tokens: [
"v8_version": project.property("v8_version"),
"j2v8_version": project.property("j2v8_version")
]
}

}

mainClassName = "com.eclipsesource.v8.J2V8Testing"

task fatJar(type: Jar) {
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
manifest {
attributes 'Main-Class': mainClassName
}
}

task native_android(type: Exec) {
workingDir 'native/'
commandLine './build_android.sh'
environment V8_VERSION: project.property("v8_version"), J2V8_VERSION: project.property("j2v8_version")
}

task native_linux(type: Exec) {
workingDir 'native/'
commandLine './build_linux.sh'
environment V8_VERSION: project.property("v8_version"), J2V8_VERSION: project.property("j2v8_version")
}

task native_mac(type: Exec) {
workingDir 'native/'
commandLine './build_mac.sh'
environment V8_VERSION: project.property("v8_version"), J2V8_VERSION: project.property("j2v8_version")
}

task native_windows(type: Exec) {
workingDir 'native/'
commandLine './build_windows.sh'
environment V8_VERSION: project.property("v8_version"), J2V8_VERSION: project.property("j2v8_version")
}
7 changes: 0 additions & 7 deletions build.properties

This file was deleted.

6 changes: 0 additions & 6 deletions build.sh

This file was deleted.

16 changes: 0 additions & 16 deletions build_mac.sh

This file was deleted.

117 changes: 0 additions & 117 deletions deploy_snapshots.sh

This file was deleted.

Loading