Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: revert "feat(java): release process APIC-411 (#411)" #420

Merged
merged 1 commit into from
Apr 25, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,16 @@

api/**
docs/**
gradle/**
src/**
README.md

.travis.yml
build.sbt
gradle.properties
git_push.sh
pom.xml
gradlew.bat
gradle*

# Selective source file
algoliasearch-core/src/com/algolia/auth/**
Expand Down

This file was deleted.

45 changes: 39 additions & 6 deletions templates/java/build.gradle.mustache
Original file line number Diff line number Diff line change
@@ -1,8 +1,41 @@
buildscript {
repositories {
plugins {
id 'java-library'
id 'maven-publish'
}

group = '{{groupId}}'
version = '{{artifactVersion}}'
description = 'algoliasearch-client-java-2'
java.sourceCompatibility = JavaVersion.VERSION_1_8

repositories {
mavenCentral()
}
dependencies {
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.19.0'
}
}

dependencies {
implementation 'com.google.code.findbugs:jsr305:3.0.2'
api 'com.squareup.okhttp3:okhttp:4.9.1'
implementation 'com.squareup.okhttp3:logging-interceptor:4.9.1'
api 'com.google.code.gson:gson:2.8.9'
implementation 'io.gsonfire:gson-fire:1.8.5'
}

publishing {
publications {
maven(MavenPublication) {
from(components.java)
}
}
}

tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}

sourceSets {
main {
java {
srcDirs = ["{{{sourceFolder}}}"]
}
}
}
1 change: 1 addition & 0 deletions templates/java/gitignore.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
.mtj.tmp/

# Package Files #
*.jar
*.war
*.ear

Expand Down
Binary file removed templates/java/gradle-wrapper.jar.mustache
Binary file not shown.
5 changes: 0 additions & 5 deletions templates/java/gradle-wrapper.properties.mustache

This file was deleted.

2 changes: 0 additions & 2 deletions templates/java/gradle.properties.mustache

This file was deleted.

4 changes: 1 addition & 3 deletions templates/java/settings.gradle.mustache
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
rootProject.name = "{{artifactId}}"

include(":algoliasearch-core")
rootProject.name = "{{artifactId}}"