Skip to content

Commit

Permalink
Merge pull request #4 from mihnita/master
Browse files Browse the repository at this point in the history
Created gradle structure and build file
  • Loading branch information
stefanhaustein authored Aug 30, 2017
2 parents a4e619c + a2a8f0d commit 87f02cd
Show file tree
Hide file tree
Showing 17 changed files with 36 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
build/
.gradle/

30 changes: 30 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -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 removed lib/xmlpull_1_1_3_1.jar
Binary file not shown.
2 changes: 2 additions & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -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.
2 changes: 1 addition & 1 deletion test/TestWb.java → src/test/java/TestWb.java
Original file line number Diff line number Diff line change
Expand Up @@ -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");

Expand Down

0 comments on commit 87f02cd

Please sign in to comment.