Skip to content

Commit af90250

Browse files
Upload
1 parent b194bf0 commit af90250

39 files changed

+4376
-0
lines changed

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.gradle
2+
local.properties
3+
.idea/workspace.xml
4+
.idea/libraries
5+
.idea/vcs.xml
6+
.DS_Store
7+
build
8+
out

.idea/.gitignore

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/compiler.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/gradle.xml

Lines changed: 17 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/jarRepositories.xml

Lines changed: 25 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations/INDIForJava_server_Jar.xml

Lines changed: 23 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

META-INF/MANIFEST.MF

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Manifest-Version: 2.0.0
2+
Specification-Vendor: INDIForJava
3+
Name: org/indilib/i4j
4+
Specification-Title: INDIForJava
5+
Specification-Version: 2.0.0

build.gradle

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
apply plugin: 'java-library'
2+
apply plugin: 'idea'
3+
apply plugin: 'maven'
4+
5+
repositories {
6+
mavenCentral()
7+
maven { url 'https://jitpack.io' }
8+
}
9+
10+
test {
11+
useJUnitPlatform()
12+
}
13+
14+
sourceCompatibility = 1.8
15+
targetCompatibility = 1.8
16+
17+
group 'org.indilib.i4j'
18+
description = 'INDIForJava-server'
19+
version '2.0.0'
20+
21+
dependencies {
22+
api 'com.github.INDIForJava:INDIForJava-driver:2.0.0'
23+
implementation 'org.jboss:jandex:2.3.0.Final'
24+
implementation 'org.glassfish.tyrus:tyrus-server:2.0.0'
25+
}
26+
27+
jar {
28+
archivesBaseName = project.name
29+
destinationDirectory = file("build/")
30+
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
31+
manifest {
32+
from 'META-INF/MANIFEST.MF'
33+
}
34+
from {
35+
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
36+
}
37+
}
38+
39+
task sourcesJar(type: Jar, dependsOn: classes) {
40+
from sourceSets.main.allSource
41+
classifier "sources"
42+
extension "jar"
43+
}
44+
45+
task javadocJar(type: Jar) {
46+
classifier "javadoc"
47+
from javadoc
48+
}
49+
50+
artifacts {
51+
archives javadocJar, sourcesJar
52+
}
53+
54+
configure(install.repositories.mavenInstaller) {
55+
pom.project {
56+
inceptionYear = '2012'
57+
name = project.name
58+
packaging = 'jar'
59+
description = project.description
60+
61+
url = 'https://github.com/INDIForJava/INDIForJava-server'
62+
63+
scm {
64+
connection = 'git@github.com:INDIForJava/INDIForJava-server.git'
65+
developerConnection = 'git@github.com:INDIForJava/INDIForJava-server.git'
66+
url = 'https://github.com/INDIForJava/INDIForJava-server'
67+
}
68+
69+
licenses {
70+
license {
71+
name = 'GNU General Public License'
72+
url = 'https://www.gnu.org/licenses/gpl-3.0.txt'
73+
}
74+
}
75+
76+
developers {
77+
developer {
78+
id = 'marcocipriani01'
79+
name = 'Marco Cipriani'
80+
email = 'marco.cipriani.01@gmail.com'
81+
}
82+
}
83+
}
84+
}

gradle/wrapper/gradle-wrapper.jar

57.8 KB
Binary file not shown.

0 commit comments

Comments
 (0)