Quantcast
Channel: Gradle Forums - Latest posts
Viewing all articles
Browse latest Browse all 20348

Gradle doesn't publish?

$
0
0

RTFM. I was missing the publications block inside the publishing block. Here’s the whole block

publishing {
  publications {
    myLibrary(MavenPublication) {
      from components.java
    }
  }
  repositories {
    maven {
      url "s3://" + s3_bucket
      credentials(AwsCredentials) {
        accessKey AWS_ACCESS_KEY
        secretKey AWS_SECRET_KEY
      }
    }
  }
}

Viewing all articles
Browse latest Browse all 20348

Trending Articles