Skip to content

Commit

Permalink
Release 1.1.9 Add kotlin support (untested)
Browse files Browse the repository at this point in the history
  • Loading branch information
harbby committed Jan 23, 2025
1 parent 50ae8c8 commit 49fe609
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ https://plugins.gradle.org/plugin/com.github.harbby.gradle.serviceloader
Build script snippet for plugins DSL for Gradle 2.1 and later:
```groovy
plugins {
id "com.github.harbby.gradle.serviceloader" version "1.1.8"
id "com.github.harbby.gradle.serviceloader" version "1.1.9"
}
```
Build script snippet for use in older Gradle versions or where dynamic configuration is required:
Expand All @@ -35,7 +35,7 @@ buildscript {
}
}
dependencies {
classpath "gradle.plugin.com.github.harbby:gradle-serviceloader:1.1.8"
classpath "gradle.plugin.com.github.harbby:gradle-serviceloader:1.1.9"
}
}
Expand Down Expand Up @@ -71,7 +71,7 @@ The following is for testing
maven { url 'https://harbby.github.io/.m2/repository/' }
}
dependencies {
classpath 'com.github.harbby:gradle-serviceloader:1.1.8'
classpath 'com.github.harbby:gradle-serviceloader:1.1.9'
}
}
```
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ apply plugin: 'java-gradle-plugin'
apply plugin: JavaPlugin

group='com.github.harbby'
version='1.1.8'
version='1.1.9'

sourceCompatibility = 16
targetCompatibility = 16
sourceCompatibility = 17
targetCompatibility = 17

if(project.hasProperty('target')) {
apply from: "${project.target}.gradle"
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-all.zip
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public void setup() throws IOException {
public void serviceloaderTest() throws IOException {
var name = UUID.randomUUID().toString().replaceAll("-", "");
var group = "com.github.harbby";
var version = "1.1.8";
var version = "1.1.9";
var pluginInterface = "test.TestInterface";
Files.writeString(new File(projectDir, "build.gradle").toPath(), """
plugins {
Expand All @@ -43,7 +43,7 @@ public void serviceloaderTest() throws IOException {
}
group = '%s'
version = '%s'
""".stripIndent().formatted(pluginInterface, group, version));
""".formatted(pluginInterface, group, version));

Files.writeString(new File(projectDir, "settings.gradle").toPath(), "rootProject.name='%s'".formatted(name));

Expand Down

0 comments on commit 49fe609

Please sign in to comment.