maybe like this I dunno anymore

This commit is contained in:
Ellpeck 2020-02-07 14:03:58 +01:00
parent 7db1b4ace7
commit c1b5b6315c
2 changed files with 5 additions and 5 deletions

View file

@ -20,6 +20,8 @@ steps:
path: '$(GRADLE_USER_HOME)' path: '$(GRADLE_USER_HOME)'
restoreKeys: 'gradle' restoreKeys: 'gradle'
- task: Gradle@2 - task: Gradle@2
env:
ACCESS_TOKEN: $(System.AccessToken)
inputs: inputs:
workingDirectory: '' workingDirectory: ''
gradleWrapperFile: 'gradlew' gradleWrapperFile: 'gradlew'

View file

@ -1,20 +1,17 @@
buildscript { buildscript {
repositories { repositories {
maven { url = 'https://files.minecraftforge.net/maven' } maven { url = 'https://files.minecraftforge.net/maven' }
maven { url = 'https://plugins.gradle.org/m2/' }
jcenter() jcenter()
mavenCentral() mavenCentral()
} }
dependencies { dependencies {
classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '3.+', changing: true classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '3.+', changing: true
classpath 'net.linguica.gradle:maven-settings-plugin:0.5'
} }
} }
apply plugin: 'net.minecraftforge.gradle' apply plugin: 'net.minecraftforge.gradle'
// Only edit below this line, the above code adds and enables the necessary things for Forge to be setup. // Only edit below this line, the above code adds and enables the necessary things for Forge to be setup.
apply plugin: 'eclipse' apply plugin: 'eclipse'
apply plugin: 'maven-publish' apply plugin: 'maven-publish'
apply plugin: 'net.linguica.maven-settings'
version = '20.1' version = '20.1'
group = 'de.ellpeck.naturesaura' // http://maven.apache.org/guides/mini/guide-naming-conventions.html group = 'de.ellpeck.naturesaura' // http://maven.apache.org/guides/mini/guide-naming-conventions.html
@ -150,8 +147,9 @@ publishing {
maven { maven {
url 'https://pkgs.dev.azure.com/Ellpeck/NaturesAura/_packaging/NaturesAura/maven/v1' url 'https://pkgs.dev.azure.com/Ellpeck/NaturesAura/_packaging/NaturesAura/maven/v1'
name 'NaturesAura' name 'NaturesAura'
authentication { credentials {
basic(BasicAuthentication) username "Azure DevOps Services"
password System.getenv('ACCESS_TOKEN')
} }
} }
} }