Skip to content
This repository has been archived by the owner on Mar 22, 2023. It is now read-only.

Commit

Permalink
Add jitpack.io repository.
Browse files Browse the repository at this point in the history
  • Loading branch information
rlj1202 committed Aug 26, 2017
1 parent e9b7915 commit 6545048
Show file tree
Hide file tree
Showing 35 changed files with 292 additions and 1,300,282 deletions.
10 changes: 0 additions & 10 deletions .classpath

This file was deleted.

3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/bin/
/src/
/build/
46 changes: 25 additions & 21 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,18 +1,9 @@
apply plugin: 'java'

sourceSets {
main {
java {
srcDir 'src/main/java'
}
resources {
srcDir 'src/main/java'
}
}
}
apply plugin: 'application'

repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}

configurations {
Expand All @@ -21,23 +12,36 @@ configurations {
}

dependencies {
compile project(":JGlobalInputManager")
compile 'com.github.rlj1202:JGlobalInputManager:0.1.0'
testCompile 'com.github.rlj1202:JGlobalInputManager:0.1.0'
testCompile 'junit:junit:4.12'
}

sourceSets {
main {
java {
srcDirs 'src/main/java'
}
resources {
srcDirs 'src/main/java'
}
}
}

targetCompatibility = 1.8
sourceCompatibility = 1.8
mainClassName = 'redlaboratory.chineseinput.Core'

def title = 'ChineseInput'
version = 1.0
version = '0.1.0'

task release(type: Jar) {
jar {
manifest {
attributes 'Title': title, 'Version': version, 'Main-Class': 'redlaboratory.chineseinput.Core'
attributes 'Title': project.name, 'Version': version
}

from sourceSets.main.output

from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
from 'README.md'

baseName = 'ChineseInput'
}

task wrapper(type: Wrapper) {
gradleVersion = '4.1'
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed build/libs/ChineseInput-1.0.jar
Binary file not shown.
Loading

0 comments on commit 6545048

Please sign in to comment.