aboutsummaryrefslogtreecommitdiff
path: root/gradle
diff options
context:
space:
mode:
authorDierk Koenig <dierk.koenig@canoo.com>2015-09-04 14:02:30 +0200
committerDierk Koenig <dierk.koenig@canoo.com>2015-09-04 14:02:30 +0200
commitc8fbd2d175d11193b70a8da79ee399da5849104f (patch)
tree3b68bdc7d638d9c14e9e35976886848ecc670380 /gradle
parent0ca49f43ff8440f6e83b895453d8ce56d8a72e9d (diff)
downloadfrege-gradle-plugin-c8fbd2d175d11193b70a8da79ee399da5849104f.tar.gz
frege-gradle-plugin-c8fbd2d175d11193b70a8da79ee399da5849104f.tar.bz2
frege-gradle-plugin-c8fbd2d175d11193b70a8da79ee399da5849104f.zip
Remove dependencies to sonatype and directly publish to the gradle plugin portal.
Upgrade to frege version 3.23,
Diffstat (limited to 'gradle')
-rw-r--r--gradle/sonatype.gradle95
-rw-r--r--gradle/wrapper/gradle-wrapper.properties4
2 files changed, 2 insertions, 97 deletions
diff --git a/gradle/sonatype.gradle b/gradle/sonatype.gradle
deleted file mode 100644
index f0cf569..0000000
--- a/gradle/sonatype.gradle
+++ /dev/null
@@ -1,95 +0,0 @@
-
-ext {
-
- sonatypeBaseUrl = "https://oss.sonatype.org"
- sonatypeSnapshotUrl = "$sonatypeBaseUrl/content/repositories/snapshots/"
- sonatypeRepositoryUrl = "$sonatypeBaseUrl/content/groups/public"
- sonatypeReleaseUrl = "$sonatypeBaseUrl/service/local/staging/deploy/maven2/"
- sonatypeUploadUrl = isSnapshot ? sonatypeSnapshotUrl : sonatypeReleaseUrl
-
- projectUrl = "https://github.com/Frege/frege-gradle-plugin"
- projectName = "Frege Gradle Plugin"
- pomProjectName = projectName
- baseJarName = "gradle-frege-plugin"
-
- groupName = "org.frege-lang"
- scmUrl = "git://github.com/Frege/frege-gradle-plugin.git"
- scmGitFile = "scm:git@github.com:Frege/frege-gradle-plugin.git"
- projectDescription = "Frege Gradle plugin"
-
- licenseName = "BSD 3-clause license"
- licenseUrl = 'http://opensource.org/licenses/BSD-3-Clause'
-
- organisation = groupName
-
- primaryEmail = "frege-programming-language@googlegroups.com"
-
-}
-
-Boolean doSigning() {
- signingEnabled.trim() == "true"
-}
-
-task javadocJar(type: Jar, dependsOn: "javadoc") {
- classifier = 'javadoc'
- from "build/docs/javadoc"
-}
-
-task sourcesJar(type: Jar) {
- from sourceSets.main.allSource
- classifier = 'sources'
-}
-
-artifacts {
- archives jar
- archives javadocJar
- archives sourcesJar
-}
-
-signing {
- required { doSigning() }
- sign configurations.archives
-}
-
-uploadArchives {
- enabled = true
- repositories {
- mavenDeployer {
- if (doSigning()) {
- beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }
- }
-
- repository(url: sonatypeUploadUrl) {
- authentication(userName: sonatypeUsername, password: sonatypePassword)
- }
- pom {
- groupId = groupName
- project {
- name pomProjectName
- packaging 'jar'
- description projectDescription
- url projectUrl
- organization {
- name pomProjectName
- url projectUrl
- }
- scm {
- url scmUrl
- }
- licenses {
- license {
- name licenseName
- url licenseUrl
- distribution 'repo'
- }
- }
- developers {
- developer {
- email primaryEmail
- }
- }
- }
- }
- }
- }
-} \ No newline at end of file
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
index 330b106..ac404a2 100644
--- a/gradle/wrapper/gradle-wrapper.properties
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -1,6 +1,6 @@
-#Sun Aug 30 17:39:41 CEST 2015
+#Thu Sep 03 23:57:28 CEST 2015
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-2.6-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-2.6-all.zip