diff --git a/azurefs-starter/src/main/java/gr/netmechanics/jmix/azurefs/autoconfigure/AzureFileStorageAutoConfiguration.java b/azurefs-starter/src/main/java/gr/netmechanics/jmix/azurefs/autoconfigure/AzureFileStorageAutoConfiguration.java index 8a62cfd..a552ca3 100644 --- a/azurefs-starter/src/main/java/gr/netmechanics/jmix/azurefs/autoconfigure/AzureFileStorageAutoConfiguration.java +++ b/azurefs-starter/src/main/java/gr/netmechanics/jmix/azurefs/autoconfigure/AzureFileStorageAutoConfiguration.java @@ -19,7 +19,6 @@ import gr.netmechanics.jmix.azurefs.AzureFileStorageConfiguration; import io.jmix.core.CoreConfiguration; import org.springframework.boot.autoconfigure.AutoConfiguration; -import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Import; @AutoConfiguration diff --git a/azurefs-starter/src/main/resources/META-INF/spring/jmix-awsfs/awsfs-starter/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports b/azurefs-starter/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports similarity index 100% rename from azurefs-starter/src/main/resources/META-INF/spring/jmix-awsfs/awsfs-starter/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports rename to azurefs-starter/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports diff --git a/azurefs/azurefs.gradle b/azurefs/azurefs.gradle index 25ba822..c0c76b0 100644 --- a/azurefs/azurefs.gradle +++ b/azurefs/azurefs.gradle @@ -15,5 +15,3 @@ dependencies { test { useJUnitPlatform() } - -version = '2.2.2' diff --git a/azurefs/src/main/java/gr/netmechanics/jmix/azurefs/AzureFileStorageProperties.java b/azurefs/src/main/java/gr/netmechanics/jmix/azurefs/AzureFileStorageProperties.java index 4f4cc05..093ab5b 100644 --- a/azurefs/src/main/java/gr/netmechanics/jmix/azurefs/AzureFileStorageProperties.java +++ b/azurefs/src/main/java/gr/netmechanics/jmix/azurefs/AzureFileStorageProperties.java @@ -32,8 +32,8 @@ public class AzureFileStorageProperties { public AzureFileStorageProperties(final String connectionString, final String containerName, - @DefaultValue("1048576") int blockSize, // 1ΜΒ - @DefaultValue("2") int maxConcurrency) { + @DefaultValue("1048576") final int blockSize, // 1ΜΒ + @DefaultValue("2") final int maxConcurrency) { this.connectionString = connectionString; this.containerName = containerName; this.blockSize = blockSize; diff --git a/build.gradle b/build.gradle index f96697c..d6d950f 100644 --- a/build.gradle +++ b/build.gradle @@ -13,7 +13,6 @@ subprojects { apply plugin: 'java-library' apply plugin: 'maven-publish' apply plugin: 'io.jmix' - apply plugin: 'signing' repositories { mavenCentral() @@ -43,10 +42,6 @@ subprojects { archives sourcesJar } - ext { - isReleaseVersion = !version.endsWith("SNAPSHOT") - } - publishing { repositories { maven { @@ -70,4 +65,9 @@ subprojects { tasks.withType(GenerateModuleMetadata) { enabled = false } + + tasks.withType(JavaCompile).configureEach { + options.encoding = 'UTF-8' + options.compilerArgs.add("-parameters") + } }