Skip to content

Commit 42cfa15

Browse files
Upload
1 parent 0e5bb8e commit 42cfa15

36 files changed

+4842
-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_driver_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: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
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-client'
19+
version '2.0.0'
20+
21+
dependencies {
22+
api 'com.github.INDIForJava:INDIForJava-driver:2.0.0'
23+
}
24+
25+
jar {
26+
archivesBaseName = project.name
27+
destinationDirectory = file("build/")
28+
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
29+
manifest {
30+
from 'META-INF/MANIFEST.MF'
31+
}
32+
from {
33+
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
34+
}
35+
}
36+
37+
task sourcesJar(type: Jar, dependsOn: classes) {
38+
from sourceSets.main.allSource
39+
classifier "sources"
40+
extension "jar"
41+
}
42+
43+
task javadocJar(type: Jar) {
44+
classifier "javadoc"
45+
from javadoc
46+
}
47+
48+
artifacts {
49+
archives javadocJar, sourcesJar
50+
}
51+
52+
configure(install.repositories.mavenInstaller) {
53+
pom.project {
54+
inceptionYear = '2012'
55+
name = project.name
56+
packaging = 'jar'
57+
description = project.description
58+
59+
url = 'https://github.com/INDIForJava/INDIForJava-client'
60+
61+
scm {
62+
connection = 'git@github.com:INDIForJava/INDIForJava-client.git'
63+
developerConnection = 'git@github.com:INDIForJava/INDIForJava-client.git'
64+
url = 'https://github.com/INDIForJava/INDIForJava-client'
65+
}
66+
67+
licenses {
68+
license {
69+
name = 'GNU General Public License'
70+
url = 'https://www.gnu.org/licenses/gpl-3.0.txt'
71+
}
72+
}
73+
74+
developers {
75+
developer {
76+
id = 'marcocipriani01'
77+
name = 'Marco Cipriani'
78+
email = 'marco.cipriani.01@gmail.com'
79+
}
80+
}
81+
}
82+
}

gradle/wrapper/gradle-wrapper.jar

57.8 KB
Binary file not shown.

0 commit comments

Comments
 (0)