Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'gradle/publish.gradle')
-rw-r--r--gradle/publish.gradle27
1 files changed, 27 insertions, 0 deletions
diff --git a/gradle/publish.gradle b/gradle/publish.gradle
new file mode 100644
index 000000000..1bcf65198
--- /dev/null
+++ b/gradle/publish.gradle
@@ -0,0 +1,27 @@
+apply plugin: 'maven-publish'
+
+publishing {
+ publications {
+ mavenJava(MavenPublication) {
+ from components.java
+ }
+ }
+ repositories {
+ maven {
+ name 'snapshots'
+ url 'https://repo.eclipse.org/content/repositories/etrice-snapshots'
+ credentials {
+ username project.properties.eclipseRepoUsername
+ password project.properties.eclipseRepoPassword
+ }
+ }
+ maven {
+ name 'releases'
+ url 'https://repo.eclipse.org/content/repositories/etrice-releases'
+ credentials {
+ username project.properties.eclipseRepoUsername
+ password project.properties.eclipseRepoPassword
+ }
+ }
+ }
+} \ No newline at end of file

Back to the top