Skip to content
Permalink
Browse files

Created gradle structure and build file

  • Loading branch information
mihnita committed Aug 28, 2017
1 parent e80798f commit a2a8f0d81ea2f54911e3def0e93f7a79263d96c1
@@ -0,0 +1,3 @@
build/
.gradle/

@@ -0,0 +1,30 @@
apply plugin: 'java'
apply plugin: 'maven'

group = 'net.sf.kxml'
version = '2.5.0'

sourceCompatibility = 1.3
targetCompatibility = 1.3

// This is in case we ever use non-ASCII chars in sources
compileJava.options.encoding = 'UTF-8'
compileTestJava.options.encoding = 'UTF-8'

repositories {
mavenLocal()
}

dependencies {
compile group: 'xmlpull', name: 'xmlpull', version: '1.1.3.1'
testCompile group: 'junit', name: 'junit', version: '4.12'
}

task sourcesJar(type: Jar, dependsOn: classes) {
classifier 'sources'
from sourceSets.main.allSource
}

artifacts {
archives sourcesJar
}
Binary file not shown.
@@ -0,0 +1,2 @@
rootProject.name = 'kxml2'

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -20,7 +20,7 @@

public class TestWb extends TestCase
{
public void testWb() throws IllegalArgumentException,IllegalStateException, FileNotFoundException, IOException
public void disabled_testWb() throws IllegalArgumentException,IllegalStateException, FileNotFoundException, IOException
{
File file=new File("compress.xml");

0 comments on commit a2a8f0d

Please sign in to comment.
You can’t perform that action at this time.